remove assert preventing large screen

This commit is contained in:
Eric House 2014-01-06 06:38:08 -08:00
parent 83692fd2e8
commit ac969793ea

View file

@ -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) );
}