mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
don't hide REM tiles square when drops to 0
This commit is contained in:
parent
09a81a2639
commit
f1c5ebeb31
1 changed files with 6 additions and 6 deletions
|
@ -969,13 +969,13 @@ static void
|
|||
gtk_draw_drawRemText( DrawCtx* p_dctx, XP_S16 nTilesLeft,
|
||||
XP_Bool focussed, XP_Rect* rect )
|
||||
{
|
||||
if ( nTilesLeft <= 0 ) {
|
||||
rect->width = rect->height = 0;
|
||||
if ( XP_FALSE && nTilesLeft <= 0 ) {
|
||||
rect->width = rect->height = 0;
|
||||
} else {
|
||||
XP_U16 width, height;
|
||||
XP_U16 width, height;
|
||||
gtkDrawDrawRemText( p_dctx, rect, nTilesLeft, &width, &height, focussed );
|
||||
rect->width = width;
|
||||
rect->height = height;
|
||||
rect->width = width;
|
||||
rect->height = height;
|
||||
gtkDrawDrawRemText( p_dctx, rect, nTilesLeft, NULL, NULL, focussed );
|
||||
}
|
||||
}
|
||||
|
@ -1014,7 +1014,7 @@ static void
|
|||
gtk_draw_measureRemText( DrawCtx* p_dctx, const XP_Rect* rect, XP_S16 nTilesLeft,
|
||||
XP_U16* width, XP_U16* height )
|
||||
{
|
||||
if ( nTilesLeft <= 0 ) {
|
||||
if ( XP_FALSE && nTilesLeft <= 0 ) {
|
||||
*width = *height = 0;
|
||||
} else {
|
||||
gtkDrawDrawRemText( p_dctx, rect, nTilesLeft, width, height, XP_FALSE );
|
||||
|
|
Loading…
Reference in a new issue