mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
remove bogus assert and logging
This commit is contained in:
parent
a87ecf5638
commit
1950e38bda
2 changed files with 5 additions and 5 deletions
|
@ -376,11 +376,11 @@ gtk_draw_vertScrollBoard( DrawCtx* p_dctx, XP_Rect* rect,
|
|||
rect->top += rect->height - dist;
|
||||
}
|
||||
rect->height = dist;
|
||||
XP_LOGF( "%s=>(%d,%d,%d,%d)", __func__, rect->left, rect->top,
|
||||
rect->width, rect->height );
|
||||
/* XP_LOGF( "%s=>(%d,%d,%d,%d)", __func__, rect->left, rect->top, */
|
||||
/* rect->width, rect->height ); */
|
||||
|
||||
return XP_TRUE;
|
||||
}
|
||||
} /* gtk_draw_vertScrollBoard */
|
||||
|
||||
static void
|
||||
drawHintBorders( GtkDrawCtx* dctx, const XP_Rect* rect, HintAtts hintAtts)
|
||||
|
|
|
@ -1102,8 +1102,8 @@ scroll_value_changed( GtkAdjustment *adj, GtkAppGlobals* globals )
|
|||
XP_U16 newValue;
|
||||
gfloat newValueF = adj->value;
|
||||
|
||||
XP_ASSERT( newValueF >= 0.0
|
||||
&& newValueF <= globals->cGlobals.params->nHidden );
|
||||
/* XP_ASSERT( newValueF >= 0.0 */
|
||||
/* && newValueF <= globals->cGlobals.params->nHidden ); */
|
||||
newValue = (XP_U16)newValueF;
|
||||
|
||||
if ( board_setYOffset( globals->cGlobals.game.board, newValue ) ) {
|
||||
|
|
Loading…
Reference in a new issue