fix assertion failure by passing max size not < actual size

This commit is contained in:
Eric House 2010-06-05 08:10:02 -07:00
parent d98b2ad5d6
commit 08ad0bdfa5

View file

@ -1382,7 +1382,7 @@ positionSizeStuff( CursesAppGlobals* globals, int width, int height )
cellHt = CURSES_CELL_HT;
board_setPos( board, BOARD_OFFSET, BOARD_OFFSET,
cellWidth * MAX_COLS, cellHt * MAX_ROWS,
cellHt, XP_FALSE );
cellWidth, XP_FALSE );
/* board_setScale( board, cellWidth, cellHt ); */
scoreLeft = (cellWidth * MAX_COLS);// + BOARD_SCORE_PADDING;
remWidth -= cellWidth * MAX_COLS;