Diff for /np2/win9xc/menu.cpp between versions 1.7 and 1.8

version 1.7, 2005/02/07 14:46:15 version 1.8, 2005/03/20 08:58:20
Line 11 Line 11
   
 // ----  // ----
   
 static const char smenu_memdump[] = "&Memory Dump";  static const TCHAR smenu_memdump[] = _T("&Memory Dump");
   
 void sysmenu_initialize(void) {  void sysmenu_initialize(void) {
   
Line 28  void sysmenu_initialize(void) { Line 28  void sysmenu_initialize(void) {
   
 // ----  // ----
   
 static const char str_i286save[] = "&i286 save";  static const TCHAR str_i286save[] = _T("&i286 save");
 #if defined(SUPPORT_WAVEREC)  #if defined(SUPPORT_WAVEREC)
 static const char str_waverec[] = "&Wave Record";  static const TCHAR str_waverec[] = _T("&Wave Record");
 #endif  #endif
 #if defined(SUPPORT_SCSI)  #if defined(SUPPORT_SCSI)
 static const char xmenu_scsi[] = "SCSI #%d";  static const TCHAR xmenu_scsi[] = _T("SCSI #%d");
 static const char xmenu_open[] = "&Open...";  static const TCHAR xmenu_open[] = _T("&Open...");
 static const char xmenu_remove[] = "&Remove";  static const TCHAR xmenu_remove[] = _T("&Remove");
 #endif  #endif
   
 #if defined(SUPPORT_SCSI)  #if defined(SUPPORT_SCSI)
 static void addscsimenu(HMENU hMenu, UINT drv, UINT16 open, UINT16 eject) {  static void addscsimenu(HMENU hMenu, UINT drv, UINT16 open, UINT16 eject) {
   
         HMENU   hSubMenu;          HMENU   hSubMenu;
         char    buf[16];          TCHAR   buf[16];
   
         hSubMenu = CreatePopupMenu();          hSubMenu = CreatePopupMenu();
         AppendMenu(hSubMenu, MF_STRING, open, xmenu_open);          AppendMenu(hSubMenu, MF_STRING, open, xmenu_open);
         AppendMenu(hSubMenu, MF_SEPARATOR, 0, NULL);          AppendMenu(hSubMenu, MF_SEPARATOR, 0, NULL);
         AppendMenu(hSubMenu, MF_STRING, eject, xmenu_remove);          AppendMenu(hSubMenu, MF_STRING, eject, xmenu_remove);
   
         SPRINTF(buf, xmenu_scsi, drv);          wsprintf(buf, xmenu_scsi, drv);
         AppendMenu(hMenu, MF_POPUP, (UINT32)hSubMenu, buf);          AppendMenu(hMenu, MF_POPUP, (UINT32)hSubMenu, buf);
 }  }
 #endif  #endif

Removed from v.1.7  
changed lines
  Added in v.1.8


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