#ifdef MAPBAR_LIKE_TIMIDI 
#ifdef MAPBAR_LIKE_TMIDI 
static void CanvasMapReset(void){	int i,j,ch;	if(!CanvasOK)   	return;	switch(Canvas.MapMode){   case CMAP_MODE_32:		Canvas.MapCh = 32;#ifdef MAPBAR_LIKE_TIMIDI		Canvas.MapBarWidth = 5;		Canvas.MapBarMax = 10+1;		Canvas.rcMapMap.bottom = Canvas.rcMapMap.top + 3*Canvas.MapBarMax*2 + 6 - 1;#else  		Canvas.MapBarWidth = 2;		Canvas.MapBarMax = 16;		Canvas.rcMapMap.bottom = Canvas.rcMapMap.top + 3*Canvas.MapBarMax - 1;#endif		break;   default:   case CMAP_MODE_16:		Canvas.MapCh = 16;		Canvas.MapBarWidth = 5;		Canvas.MapBarMax = 16;		Canvas.rcMapMap.bottom = Canvas.rcMapMap.top + 3*Canvas.MapBarMax - 1;		break;	}	for(i=0;i<Canvas.MapCh;i++){		for(j=0;j<Canvas.MapBarMax;j++){    		Canvas.MapMap[i][j] = CC_FORE_HALF;    		Canvas.MapMapOld[i][j] = -1;		}   	Canvas.MapBar[i] = -1;    	Canvas.MapBarOld[i] = -1;	}	for(ch=0;ch<Canvas.MapCh;ch++){		Canvas.MapPan[ch] = Canvas.MapPanOld[ch] = 2;		Canvas.MapSustain[ch] = Canvas.MapSustainOld[ch] = 0;		Canvas.MapExpression[ch] = Canvas.MapExpressionOld[ch] = 0;		Canvas.MapVolume[ch] = Canvas.MapVolumeOld[ch] = 0;		Canvas.MapPitchbend[ch] = Canvas.MapPitchbendOld[ch] = 0x2000;	}	Canvas.MapResidual = -1;	Canvas.MapUpdateFlag = 1;	Canvas.PaintDone = 0;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b145888026ba74b152bd275692a491408aa2b59e/w32g_i.c/buggy/interface/w32g_i.c