static double lasttime; double t;  if(CanvasGetMode() == CANVAS_MODE_MAP) { t = get_current_calender_time(); if(t - lasttime > 0.05) { CanvasReadPanelInfo(0); CanvasUpdate(0); CanvasPaint(); lasttime = t; } } else if (CanvasGetMode() == CANVAS_MODE_GSLCD) { 
static double lasttime; double t;  if (CanvasGetMode() == CANVAS_MODE_MAP16 || CanvasGetMode() == CANVAS_MODE_MAP32) { t = get_current_calender_time(); if (t - lasttime > 0.05) { CanvasReadPanelInfo(0); CanvasUpdate(0); CanvasPaint(); lasttime = t; } } else if (CanvasGetMode() == CANVAS_MODE_GSLCD) 
static void CanvasUpdateInterval(void){    static double lasttime;    double t;    if(CanvasGetMode() == CANVAS_MODE_MAP)    {	t = get_current_calender_time();	if(t - lasttime > 0.05)	{	    CanvasReadPanelInfo(0);	    CanvasUpdate(0);	    CanvasPaint();	    lasttime = t;	} 	} else if (CanvasGetMode() == CANVAS_MODE_GSLCD) {		ctl_gslcd_update();	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/3cacafdff0edd587d9addaa7928cbdfd541d448e/w32g_c.c/buggy/interface/w32g_c.c