mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
remove assert preventing large screen
This commit is contained in:
parent
83692fd2e8
commit
ac969793ea
1 changed files with 1 additions and 2 deletions
|
@ -348,8 +348,7 @@ curses_draw_drawCell( DrawCtx* p_dctx, const XP_Rect* rect,
|
|||
{
|
||||
CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
||||
XP_Bool highlight = (flags & (CELL_HIGHLIGHT|CELL_ISCURSOR)) != 0;
|
||||
XP_UCHAR loc[4] = { ' ', ' ', ' ', '\0' };
|
||||
XP_ASSERT( rect->width < sizeof(loc) );
|
||||
XP_UCHAR loc[rect->width+1];
|
||||
if ( !!letter ) {
|
||||
XP_MEMCPY( loc, letter, strlen(letter) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue