Diff for /np2/macos9/dialog/d_about.cpp between versions 1.2 and 1.3

version 1.2, 2003/10/23 19:31:58 version 1.3, 2003/11/09 23:42:06
Line 2 Line 2
 #include        "resource.h"  #include        "resource.h"
 #include        "dialog.h"  #include        "dialog.h"
 #include        "dialogs.h"  #include        "dialogs.h"
   #include        "np2ver.h"
 #include        "pccore.h"  #include        "pccore.h"
   
   
   #if TARGET_API_MAC_CARBON
   static const char subversion[] = " (Carbon)";
   #else
   static const char subversion[] = " (Classic)";
   #endif
   
 void AboutDialogProc(void) {  void AboutDialogProc(void) {
   
         DialogPtr       hDlg;          DialogPtr       hDlg;
           char            work[64];
         Str255          verstr;          Str255          verstr;
         int                     done;          int                     done;
         short           item;          short           item;
Line 16  void AboutDialogProc(void) { Line 24  void AboutDialogProc(void) {
         if (!hDlg) {          if (!hDlg) {
                 return;                  return;
         }          }
         mkstr255(verstr, np2version);          milstr_ncpy(work, np2version, sizeof(work));
   #if defined(NP2VER_MACOS9)
           milstr_ncat(work, NP2VER_MACOS9, sizeof(work));
   #endif
           milstr_ncat(work, subversion, sizeof(work));
           mkstr255(verstr, work);
         SetDialogItemText(GetDlgItem(hDlg, IDD_VERSION), verstr);          SetDialogItemText(GetDlgItem(hDlg, IDD_VERSION), verstr);
         SetDialogDefaultItem(hDlg, IDOK);          SetDialogDefaultItem(hDlg, IDOK);
   

Removed from v.1.2  
changed lines
  Added in v.1.3


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