ref: 682ea218de892122615f8aff7338306198fe56f4
parent: 3940c22d49f37001f8c1b60d4b9fd37aa4a98f0a
author: Jacob Nevins <[email protected]>
date: Wed Feb 28 17:22:30 EST 2007
Fix some border drawing issues. [originally from svn r7347]
--- a/filling.c
+++ b/filling.c
@@ -1389,7 +1389,8 @@
* should start by drawing a big background-colour rectangle
* covering the whole window.
*/
- draw_rect(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND);
+ draw_rect(dr, 0, 0, w*TILE_SIZE + 2*BORDER, h*TILE_SIZE + 2*BORDER,
+ COL_BACKGROUND);
/*
* Smaller black rectangle which is the main grid.
@@ -1398,6 +1399,8 @@
w*TILE_SIZE + 2*BORDER_WIDTH + 1,
h*TILE_SIZE + 2*BORDER_WIDTH + 1,
COL_GRID);
+
+ draw_update(dr, 0, 0, w*TILE_SIZE + 2*BORDER, h*TILE_SIZE + 2*BORDER);
ds->started = TRUE;
}