wrdt=wrdt_list[0];  
void w32g_initialize(void){    char buffer[MAXPATH + 1024];    char *p;    hInst = GetModuleHandle(0);      IniFile = S_IniFile;    ConfigFile = S_ConfigFile;    PlaylistFile = S_PlaylistFile;    PlaylistHistoryFile = S_PlaylistHistoryFile;    MidiFileOpenDir = S_MidiFileOpenDir;    ConfigFileOpenDir = S_ConfigFileOpenDir;    PlaylistFileOpenDir = S_PlaylistFileOpenDir;    DocFileExt = S_DocFileExt;    OutputName = S_OutputName;	w32g_output_dir = S_w32g_output_dir;      IniFile[0] = '\0';    ConfigFile[0] = '\0';    PlaylistFile[0] = '\0';    PlaylistHistoryFile[0] = '\0';    MidiFileOpenDir[0] = '\0';    ConfigFileOpenDir[0] = '\0';    PlaylistFileOpenDir[0] = '\0';    OutputName[0] = '\0';	w32g_output_dir[0] = '\0';    strcpy(DocFileExt,DEFAULT_DOCFILEEXT);    strcpy(SystemFont,"lr ");    strcpy(PlayerFont,"lr ");    strcpy(WrdFont,"lr ");    strcpy(DocFont,"lr ");    strcpy(ListFont,"lr ");    strcpy(TracerFont,"lr ");    if(GetModuleFileName(hInst, buffer, MAXPATH))    {	if((p = pathsep_strrchr(buffer)) != NULL)	{	    p++;	    *p = '\0';	}	else	{	    buffer[0] = '.';	    buffer[1] = PATH_SEP;	    buffer[2] = '\0';	}    }    else    {	buffer[0] = '.';	buffer[1] = PATH_SEP;	buffer[2] = '\0';    }	// timpp32g.ini    strncpy(IniFile, buffer, MAXPATH);    IniFile[MAXPATH] = '\0';    strcat(IniFile,"timpp32g.ini");	// timidity_window.ini	timidity_window_inifile = S_timidity_window_inifile;	strncpy(timidity_window_inifile, buffer, 200);    timidity_window_inifile[200] = '\0';    strcat(timidity_window_inifile,"timidity_window.ini");	// timidity_output.ini	timidity_output_inifile = S_timidity_output_inifile;	strncpy(timidity_output_inifile, buffer, 200);    timidity_output_inifile[200] = '\0';    strcat(timidity_output_inifile,"timidity_output.ini");	//    st_default = (SETTING_TIMIDITY *)safe_malloc(sizeof(SETTING_TIMIDITY));    sp_default = (SETTING_PLAYER *)safe_malloc(sizeof(SETTING_PLAYER));    st_current = (SETTING_TIMIDITY *)safe_malloc(sizeof(SETTING_TIMIDITY));    sp_current = (SETTING_PLAYER *)safe_malloc(sizeof(SETTING_PLAYER));    st_temp = (SETTING_TIMIDITY *)safe_malloc(sizeof(SETTING_TIMIDITY));    sp_temp = (SETTING_PLAYER *)safe_malloc(sizeof(SETTING_PLAYER));	{		DWORD dwRes;#ifdef AU_GOGO		gogo_ConfigDialogInfoInit();#endif#ifdef AU_VORBIS		vorbis_ConfigDialogInfoInit();#endif		dwRes = GetFileAttributes(timidity_output_inifile);		if(dwRes==0xFFFFFFFF || dwRes & FILE_ATTRIBUTE_DIRECTORY){#ifdef AU_GOGO			gogo_ConfigDialogInfoSaveINI();#endif#ifdef AU_VORBIS			vorbis_ConfigDialogInfoSaveINI();#endif		} else {#ifdef AU_GOGO			gogo_ConfigDialogInfoLoadINI();#endif#ifdef AU_VORBIS			vorbis_ConfigDialogInfoLoadINI();#endif 		} 	}    SaveSettingPlayer(sp_current);    SaveSettingTiMidity(st_current);    if(IniVersionCheck())    {	LoadIniFile(sp_current, st_current);	ApplySettingPlayer(sp_current);	ApplySettingTiMidity(st_current);	w32g_has_ini_file = 1;    }    else    {	sprintf(buffer,"Ini file is not found, or old format is found.\n""Do you want to initialize the ini file?\n\n""Ini file path: %s",		IniFile);	if(MessageBox(0, buffer, "TiMidity Notice", MB_YESNO) == IDYES)	{	    SaveIniFile(sp_current, st_current);	    w32g_has_ini_file = 1;	}	else	{	    w32g_has_ini_file = 0;	}    }    memcpy(sp_default, sp_current, sizeof(SETTING_PLAYER));    memcpy(st_default, st_current, sizeof(SETTING_TIMIDITY));    memcpy(sp_temp, sp_current, sizeof(SETTING_PLAYER));    memcpy(st_temp, st_current, sizeof(SETTING_TIMIDITY));    w32g_i_init();}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b145888026ba74b152bd275692a491408aa2b59e/w32g_utl.c/clean/interface/w32g_utl.c