| version 1.8, 2004/06/19 17:28:29 | version 1.9, 2004/06/20 02:57:47 | 
| Line 212  static void dlgsetlist(void) { | Line 212  static void dlgsetlist(void) { | 
 | BOOL            append; | BOOL            append; | 
 | FLIST           fl; | FLIST           fl; | 
 | ITEMEXPRM       prm; | ITEMEXPRM       prm; | 
| #if defined(OSLANG_EUC) | #if defined(OSLANG_EUC) || defined(OSLANG_UTF8) | 
 | char            sjis[MAX_PATH]; | char            sjis[MAX_PATH]; | 
 | #endif | #endif | 
 |  |  | 
| Line 222  static void dlgsetlist(void) { | Line 222  static void dlgsetlist(void) { | 
 | codecnv_euc2sjis(sjis, sizeof(sjis), | codecnv_euc2sjis(sjis, sizeof(sjis), | 
 | file_getname(filesel.path), (UINT)-1); | file_getname(filesel.path), (UINT)-1); | 
 | menudlg_settext(DID_FOLDER, sjis); | menudlg_settext(DID_FOLDER, sjis); | 
 |  | #elif defined(OSLANG_UTF8) | 
 |  | oemtext_oem2sjis(sjis, sizeof(sjis), | 
 |  | file_getname(filesel.path), (UINT)-1); | 
 |  | menudlg_settext(DID_FOLDER, sjis); | 
 | #else | #else | 
 | menudlg_settext(DID_FOLDER, file_getname(filesel.path)); | menudlg_settext(DID_FOLDER, file_getname(filesel.path)); | 
 | #endif | #endif | 
| Line 255  static void dlgsetlist(void) { | Line 259  static void dlgsetlist(void) { | 
 | #if defined(OSLANG_EUC) | #if defined(OSLANG_EUC) | 
 | codecnv_euc2sjis(sjis, sizeof(sjis), fl->name, (UINT)-1); | codecnv_euc2sjis(sjis, sizeof(sjis), fl->name, (UINT)-1); | 
 | prm.str = sjis; | prm.str = sjis; | 
 |  | #elif defined(OSLANG_UTF8) | 
 |  | oemtext_oem2sjis(sjis, sizeof(sjis), fl->name, (UINT)-1); | 
 |  | prm.str = sjis; | 
 | #else | #else | 
 | prm.str = fl->name; | prm.str = fl->name; | 
 | #endif | #endif | 
| Line 266  static void dlgsetlist(void) { | Line 273  static void dlgsetlist(void) { | 
 |  |  | 
 | static void dlginit(void) { | static void dlginit(void) { | 
 |  |  | 
| #if defined(OSLANG_EUC) | #if defined(OSLANG_EUC) || defined(OSLANG_UTF8) | 
 | char    sjis[MAX_PATH]; | char    sjis[MAX_PATH]; | 
 | #endif | #endif | 
 |  |  | 
| Line 276  static void dlginit(void) { | Line 283  static void dlginit(void) { | 
 | codecnv_euc2sjis(sjis, sizeof(sjis), | codecnv_euc2sjis(sjis, sizeof(sjis), | 
 | file_getname(filesel.path), (UINT)-1); | file_getname(filesel.path), (UINT)-1); | 
 | menudlg_settext(DID_FILE, sjis); | menudlg_settext(DID_FILE, sjis); | 
 |  | #elif defined(OSLANG_UTF8) | 
 |  | oemtext_oem2sjis(sjis, sizeof(sjis), | 
 |  | file_getname(filesel.path), (UINT)-1); | 
 |  | menudlg_settext(DID_FILE, sjis); | 
 | #else | #else | 
 | menudlg_settext(DID_FILE, file_getname(filesel.path)); | menudlg_settext(DID_FILE, file_getname(filesel.path)); | 
 | #endif | #endif | 
| Line 309  static BOOL dlgupdate(void) { | Line 320  static BOOL dlgupdate(void) { | 
 | static void dlgflist(void) { | static void dlgflist(void) { | 
 |  |  | 
 | FLIST   fl; | FLIST   fl; | 
| #if defined(OSLANG_EUC) | #if defined(OSLANG_EUC) || defined(OSLANG_UTF8) | 
 | char    sjis[MAX_PATH]; | char    sjis[MAX_PATH]; | 
 | #endif | #endif | 
 |  |  | 
| Line 318  static void dlgflist(void) { | Line 329  static void dlgflist(void) { | 
 | #if defined(OSLANG_EUC) | #if defined(OSLANG_EUC) | 
 | codecnv_euc2sjis(sjis, sizeof(sjis), fl->name, (UINT)-1); | codecnv_euc2sjis(sjis, sizeof(sjis), fl->name, (UINT)-1); | 
 | menudlg_settext(DID_FILE, sjis); | menudlg_settext(DID_FILE, sjis); | 
 |  | #elif defined(OSLANG_UTF8) | 
 |  | oemtext_oem2sjis(sjis, sizeof(sjis), fl->name, (UINT)-1); | 
 |  | menudlg_settext(DID_FILE, sjis); | 
 | #else | #else | 
 | menudlg_settext(DID_FILE, fl->name); | menudlg_settext(DID_FILE, fl->name); | 
 | #endif | #endif |