remove bogus assert and logging

This commit is contained in:
eehouse 2010-04-08 04:15:08 +00:00
parent a87ecf5638
commit 1950e38bda
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -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 ) ) {