Diff for /np2/win9xc/dialog/d_about.cpp between versions 1.4 and 1.5

version 1.4, 2004/03/23 22:39:40 version 1.5, 2005/03/20 08:58:20
Line 7 Line 7
 #include        "np2info.h"  #include        "np2info.h"
   
   
 static const char str_np2title[] = "Neko Project II  ";  static const TCHAR str_np2title[] = _T("Neko Project II  ");
 static const char np2infostr[] =                                                                \  static const TCHAR np2infostr[] =                                                               \
                                                 "CPU: %CPU% %CLOCK%\n"                                  \                                          _T("CPU: %CPU% %CLOCK%\n")                                      \
                                                 "MEM: %MEM1%\n"                                                 \                                          _T("MEM: %MEM1%\n")                                                     \
                                                 "GDC: %GDC%\n"                                                  \                                          _T("GDC: %GDC%\n")                                                      \
                                                 "     %GDC2%\n"                                                 \                                          _T("     %GDC2%\n")                                                     \
                                                 "TEXT: %TEXT%\n"                                                \                                          _T("TEXT: %TEXT%\n")                                            \
                                                 "GRPH: %GRPH%\n"                                                \                                          _T("GRPH: %GRPH%\n")                                            \
                                                 "SOUND: %EXSND%\n"                                              \                                          _T("SOUND: %EXSND%\n")                                          \
                                                 "\n"                                                                    \                                          _T("\n")                                                                        \
                                                 "BIOS: %BIOS%\n"                                                \                                          _T("BIOS: %BIOS%\n")                                            \
                                                 "RHYTHM: %RHYTHM%\n"                                    \                                          _T("RHYTHM: %RHYTHM%\n")                                        \
                                                 "\n"                                                                    \                                          _T("\n")                                                                        \
                                                 "SCREEN: %DISP%";                                          _T("SCREEN: %DISP%");
   
   
 static void about_init(HWND hWnd) {  static void about_init(HWND hWnd) {
   
         char    work[128];          TCHAR   work[128];
         char    infostr[1024];          TCHAR   infostr[1024];
   
         milstr_ncpy(work, str_np2title, sizeof(work));          milstr_ncpy(work, str_np2title, NELEMENTS(work));
         milstr_ncat(work, np2version, sizeof(work));          milstr_ncat(work, np2version, NELEMENTS(work));
         SetDlgItemText(hWnd, IDC_NP2VER, work);          SetDlgItemText(hWnd, IDC_NP2VER, work);
         np2info(infostr, np2infostr, sizeof(infostr), NULL);          np2info(infostr, np2infostr, NELEMENTS(infostr), NULL);
         SetDlgItemText(hWnd, IDC_NP2INFO, infostr);          SetDlgItemText(hWnd, IDC_NP2INFO, infostr);
         SetFocus(GetDlgItem(hWnd, IDOK));          SetFocus(GetDlgItem(hWnd, IDOK));
 }  }

Removed from v.1.4  
changed lines
  Added in v.1.5


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