Diff for /np2/embed/menu/filesel.c between versions 1.9 and 1.14

version 1.9, 2004/06/20 02:57:47 version 1.14, 2005/02/07 14:46:09
Line 20  enum { Line 20  enum {
         DID_FILTER          DID_FILTER
 };  };
   
 #if !defined(CHARSET_OEM) || defined(OSLANG_SJIS)  #if !defined(RESOURCE_US) && (!defined(CHARSET_OEM) || defined(OSLANG_SJIS))
 static const char str_dirname[] =                               // ファイルの場所  static const char str_dirname[] =                               // ファイルの場所
                         "\203\164\203\100\203\103\203\213\202\314\217\352\217\212";                          "\203\164\203\100\203\103\203\213\202\314\217\352\217\212";
 static const char str_filename[] =                              // ファイル名  static const char str_filename[] =                              // ファイル名
Line 29  static const char str_filetype[] =    // Line 29  static const char str_filetype[] =    //
                         "\203\164\203\100\203\103\203\213\202\314\216\355\227\336";                          "\203\164\203\100\203\103\203\213\202\314\216\355\227\336";
 static const char str_open[] =                                  // 開く  static const char str_open[] =                                  // 開く
                         "\212\112\202\255";                          "\212\112\202\255";
 #elif defined(OSLANG_EUC)  #elif defined(OSLANG_EUC) && !defined(RESOURCE_US)
 static const char str_dirname[] =                               // ファイルの場所  static const char str_dirname[] =                               // ファイルの場所
                         "\245\325\245\241\245\244\245\353\244\316\276\354\275\352";                          "\245\325\245\241\245\244\245\353\244\316\276\354\275\352";
 static const char str_filename[] =                              // ファイル名  static const char str_filename[] =                              // ファイル名
Line 38  static const char str_filetype[] =    // Line 38  static const char str_filetype[] =    //
                         "\245\325\245\241\245\244\245\353\244\316\274\357\316\340";                          "\245\325\245\241\245\244\245\353\244\316\274\357\316\340";
 static const char str_open[] =                                  // 開く  static const char str_open[] =                                  // 開く
                         "\263\253\244\257";                          "\263\253\244\257";
 #elif defined(OSLANG_UTF8)  #elif defined(OSLANG_UTF8) && !defined(RESOURCE_US)
 static const char str_dirname[] =                               // ファイルの場所  static const char str_dirname[] =                               // ファイルの場所
                         "\343\203\225\343\202\241\343\202\244\343\203\253\343\201\256" \                          "\343\203\225\343\202\241\343\202\244\343\203\253\343\201\256" \
                         "345\240\264\346\211\200";                          "\345\240\264\346\211\200";
 static const char str_filename[] =                              // ファイル名  static const char str_filename[] =                              // ファイル名
                         "\343\203\225\343\202\241\343\202\244\343\203\253\345\220\215";                          "\343\203\225\343\202\241\343\202\244\343\203\253\345\220\215";
 static const char str_filetype[] =                              // ファイルの種類  static const char str_filetype[] =                              // ファイルの種類
Line 277  static void dlginit(void) { Line 277  static void dlginit(void) {
         char    sjis[MAX_PATH];          char    sjis[MAX_PATH];
 #endif  #endif
   
         menudlg_appends(res_fs, sizeof(res_fs)/sizeof(MENUPRM));          menudlg_appends(res_fs, NELEMENTS(res_fs));
         menudlg_seticon(DID_PARENT, MICON_FOLDERPARENT);          menudlg_seticon(DID_PARENT, MICON_FOLDERPARENT);
 #if defined(OSLANG_EUC)  #if defined(OSLANG_EUC)
         codecnv_euc2sjis(sjis, sizeof(sjis),          codecnv_euc2sjis(sjis, sizeof(sjis),
Line 365  static int dlgcmd(int msg, MENUID id, lo Line 365  static int dlgcmd(int msg, MENUID id, lo
                                         break;                                          break;
   
                                 case DID_FLIST:                                  case DID_FLIST:
                                         dlgflist();                                          if (param) {
                                                   return(dlgcmd(DLGMSG_COMMAND, DID_OK, 0));
                                           }
                                           else {
                                                   dlgflist();
                                           }
                                         break;                                          break;
                         }                          }
                         break;                          break;

Removed from v.1.9  
changed lines
  Added in v.1.14


RetroPC.NET-CVS <cvs@retropc.net>