Diff for /np2/macosx/toolwin.cpp between versions 1.14 and 1.15

version 1.14, 2003/11/27 16:25:42 version 1.15, 2004/01/05 01:53:34
Line 192  static void setlist(ControlRef hwnd, con Line 192  static void setlist(ControlRef hwnd, con
 const char              *q;  const char              *q;
 const char              *p;  const char              *p;
     CFStringRef str;      CFStringRef str;
     SInt32              attr = kMenuItemAttrIconDisabled;  
     Str255              pname;      Str255              pname;
     bool                success = false;      bool                success = false;
           
Line 210  const char  *p; Line 209  const char  *p;
         }          }
 #endif  #endif
         for (i=0; i<fdd->cnt; i++) {          for (i=0; i<fdd->cnt; i++) {
           SInt32          attr = kMenuItemAttrIconDisabled;
                 p = fdd->name[fdd->pos[i]];                  p = fdd->name[fdd->pos[i]];
         success = getLongFileName(cfname, p);          success = getLongFileName(cfname, p);
         str = CFStringCreateWithCString(NULL, cfname, CFStringGetSystemEncoding());          str = CFStringCreateWithCString(NULL, cfname, CFStringGetSystemEncoding());
Line 239  const char  *p; Line 239  const char  *p;
             if (file_attr(p)==FILEATTR_ARCHIVE) {              if (file_attr(p)==FILEATTR_ARCHIVE) {
                 EnableMenuItem(menu, i+1);                  EnableMenuItem(menu, i+1);
             }              }
               else {
                   DisableMenuItem(menu, i+1);
               }
         }          }
                 p += sizeof(fdd->name[0]);                  p += sizeof(fdd->name[0]);
         }          }

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


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