+2006-12-30 Keishi Suenaga <skeishi@yahoo.co.jp>
+
+ * interfece/w32g_pref.c can change timidity.cfg editor
+ by environment valiable TIMiDITY_CFG_EDITOR.
+
2006-12-29 Kentaro Sato <kentaro@ranvis.com>
* timidity/controls.[ch]: Changed argument type of std_write().
}
break;
case IDC_BUTTON_CFG_EDIT:
+
+ if(getenv("TIMIDITY_CFG_EDITOR") != NULL){
+ ShellExecute(NULL, "open", getenv("TIMIDITY_CFG_EDITOR"), ConfigFile, NULL, SW_SHOWNORMAL);
+ }else{
ShellExecute(NULL, "open", "notepad.exe", ConfigFile, NULL, SW_SHOWNORMAL);
+ }
+ break;
+/* ShellExecute(NULL, "open", "notepad.exe", ConfigFile, NULL, SW_SHOWNORMAL);
break;
-/* case IDC_BUTTON_CFG_DIR:
+ case IDC_BUTTON_CFG_DIR:
ShellExecute(NULL, "open", ConfigFileOpenDir, NULL, NULL, SW_SHOWNORMAL);
break;*/
case IDC_BUTTON_CFG_RELOAD: