shithub: puzzles

Download patch

ref: d11691ec4a2faab20ad57cb668865289fe60a3b4
parent: b5756838f326db5c579d2413599bb9a1c77e6f42
author: Simon Tatham <anakin@pobox.com>
date: Sat Mar 30 12:59:17 EDT 2013

Found a bug in nullgame! Its vestigial game_redraw lacked a
draw_update, which isn't really setting a good example for people
cloning it :-) Add the missing draw_update call.

[originally from svn r9776]

--- a/nullgame.c
+++ b/nullgame.c
@@ -224,6 +224,7 @@
      * covering the whole window.
      */
     draw_rect(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND);
+    draw_update(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize);
 }
 
 static float game_anim_length(game_state *oldstate, game_state *newstate,