| version 1.5, 2004/01/23 17:37:39 | version 1.7, 2004/02/25 17:16:31 | 
| Line 84  static pascal OSStatus PrefsTabEventHand | Line 84  static pascal OSStatus PrefsTabEventHand | 
 | { | { | 
 | WindowRef   theWindow = (WindowRef)inUserData;  // get the windowRef, passed around as userData | WindowRef   theWindow = (WindowRef)inUserData;  // get the windowRef, passed around as userData | 
 | short               ret; | short               ret; | 
| ControlRef  focus; | ControlRef  focus = NULL; | 
 |  |  | 
 | ret = changeTab(theWindow, lastPaneSelected); | ret = changeTab(theWindow, lastPaneSelected); | 
 | if (ret) { | if (ret) { | 
| Line 140  void newdisk(void) { | Line 140  void newdisk(void) { | 
 | if (targetDisk == 1) { | if (targetDisk == 1) { | 
 | if (dialog_filewriteselect('.D88', "Newdisk.d88", &fss, diskWin)) { | if (dialog_filewriteselect('.D88', "Newdisk.d88", &fss, diskWin)) { | 
 | fsspec2path(&fss, fname, sizeof(fname)); | fsspec2path(&fss, fname, sizeof(fname)); | 
| newdisk_fdd(fname, media, disklabel); | newdisk_fdd(fname, media << 4, disklabel); | 
 | } | } | 
 | } | } | 
 | else if (targetDisk == 2) { | else if (targetDisk == 2) { |