if(!CanvasOK) return; switch(Canvas.Mode){ case CANVAS_MODE_MAP: CanvasMapUpdate(flag); break; case CANVAS_MODE_KEYBOARD: CanvasKeyboardUpdate(flag); break; case CANVAS_MODE_GSLCD: CanvasGSLCDUpdate(flag); break; default: case CANVAS_MODE_SLEEP: CanvasSleepUpdate(flag); break; } 
if (! CanvasOK) return; switch (Canvas.Mode) { case CANVAS_MODE_GSLCD: CanvasGSLCDUpdate(flag); break; case CANVAS_MODE_MAP16: case CANVAS_MODE_MAP32: CanvasMapUpdate(flag); break; case CANVAS_MODE_KBD_A: case CANVAS_MODE_KBD_B: CanvasKeyboardUpdate(flag); break; default: case CANVAS_MODE_SLEEP: CanvasSleepUpdate(flag); break; } 
void CanvasUpdate(int flag){	if(!CanvasOK)   	return;	switch(Canvas.Mode){		case CANVAS_MODE_MAP:			CanvasMapUpdate(flag);			break;		case CANVAS_MODE_KEYBOARD:			CanvasKeyboardUpdate(flag);			break;		case CANVAS_MODE_GSLCD:			CanvasGSLCDUpdate(flag);			break;		default:		case CANVAS_MODE_SLEEP:			CanvasSleepUpdate(flag);			break;  }}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/3cacafdff0edd587d9addaa7928cbdfd541d448e/w32g_i.c/buggy/interface/w32g_i.c