Changeset 875 for trunk/dll/notebook.c
- Timestamp:
- Nov 24, 2007, 12:14:45 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/notebook.c
r796 r875 54 54 MRESULT EXPENTRY CfgADlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 55 55 { 56 ULONG ulResult; 57 56 58 switch (msg) { 57 59 case WM_INITDLG: … … 203 205 204 206 MakeFullName(extractpath); 205 if (IsFile(extractpath)) { 206 Runtime_Error(pszSrcFile, __LINE__, "%s not a directory", 207 extractpath); 208 *extractpath = 0; 207 if (IsFile(extractpath)) { 208 ulResult = saymsg(MB_YESNOCANCEL | MB_ICONQUESTION | MB_DEFBUTTON1, HWND_DESKTOP, 209 "Bad pathname", "%s is not a valid directory\nDo you wish to delete it?", 210 extractpath); 211 if (ulResult == MBID_YES) 212 *extractpath = 0; 213 if (ulResult == MBID_CANCEL){ 214 WinDlgBox(HWND_DESKTOP, 215 hwnd, 216 CfgDlgProc, FM3ModHandle, CFG_FRAME, (PVOID) "Archive"); 217 break; 218 } 209 219 } 210 220 }
Note:
See TracChangeset
for help on using the changeset viewer.