From: Simon Tatham Date: Sat, 30 Mar 2013 16:59:17 +0000 (+0000) Subject: Found a bug in nullgame! Its vestigial game_redraw lacked a X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d11691ec4a2faab20ad57cb668865289fe60a3b4;p=sgt-puzzles.git 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] --- diff --git a/nullgame.c b/nullgame.c index 5a0ba42..4e68bf2 100644 --- a/nullgame.c +++ b/nullgame.c @@ -224,6 +224,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate, * 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,