From 08ad0bdfa569309376e3e2c150930efef2bc6de1 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 5 Jun 2010 08:10:02 -0700 Subject: [PATCH] fix assertion failure by passing max size not < actual size --- xwords4/linux/cursesmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/linux/cursesmain.c b/xwords4/linux/cursesmain.c index 44737f730..f726c266c 100644 --- a/xwords4/linux/cursesmain.c +++ b/xwords4/linux/cursesmain.c @@ -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;