From d8eb0de7c2210070adcf085e968658cbd00958d6 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 24 Jan 2005 10:50:17 +0000 Subject: The main grid outline in Pattern was asymmetric between the top/left edges and the bottom/right ones. Fix it. (Also remove it from the todo list in osx.m, where I had entered it in the assumption that it was a bug in my new OS X port! Turns out it's an entirely platform- independent bug.) [originally from svn r5187] --- pattern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pattern.c') diff --git a/pattern.c b/pattern.c index 8f35705..91b1a2f 100644 --- a/pattern.c +++ b/pattern.c @@ -903,7 +903,7 @@ static void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, * Draw the grid outline. */ draw_rect(fe, TOCOORD(ds->w, 0) - 1, TOCOORD(ds->h, 0) - 1, - ds->w * TILE_SIZE + 2, ds->h * TILE_SIZE + 2, + ds->w * TILE_SIZE + 3, ds->h * TILE_SIZE + 3, COL_GRID); ds->started = TRUE; -- cgit v1.1