--- np2/embed/menu/filesel.c 2004/06/20 12:47:57 1.10 +++ np2/embed/menu/filesel.c 2004/06/28 12:31:32 1.13 @@ -20,7 +20,7 @@ enum { DID_FILTER }; -#if !defined(CHARSET_OEM) || defined(OSLANG_SJIS) +#if !defined(RESOURCE_US) && (!defined(CHARSET_OEM) || defined(OSLANG_SJIS)) static const char str_dirname[] = // ファイルの場所 "\203\164\203\100\203\103\203\213\202\314\217\352\217\212"; static const char str_filename[] = // ファイル名 @@ -29,7 +29,7 @@ static const char str_filetype[] = // "\203\164\203\100\203\103\203\213\202\314\216\355\227\336"; static const char str_open[] = // 開く "\212\112\202\255"; -#elif defined(OSLANG_EUC) +#elif defined(OSLANG_EUC) && !defined(RESOURCE_US) static const char str_dirname[] = // ファイルの場所 "\245\325\245\241\245\244\245\353\244\316\276\354\275\352"; static const char str_filename[] = // ファイル名 @@ -38,7 +38,7 @@ static const char str_filetype[] = // "\245\325\245\241\245\244\245\353\244\316\274\357\316\340"; static const char str_open[] = // 開く "\263\253\244\257"; -#elif defined(OSLANG_UTF8) +#elif defined(OSLANG_UTF8) && !defined(RESOURCE_US) static const char str_dirname[] = // ファイルの場所 "\343\203\225\343\202\241\343\202\244\343\203\253\343\201\256" \ "\345\240\264\346\211\200"; @@ -365,7 +365,12 @@ static int dlgcmd(int msg, MENUID id, lo break; case DID_FLIST: - dlgflist(); + if (param) { + return(dlgcmd(DLGMSG_COMMAND, DID_OK, 0)); + } + else { + dlgflist(); + } break; } break;