Changeset 1686 for trunk/dll/seeall.c
- Timestamp:
- Mar 10, 2013, 7:34:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/seeall.c
r1682 r1686 55 55 04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog 56 56 for delete of readonly files 57 10 Mar 13 GKY Improvrd readonly check on delete to allow cancel and don't ask again options 58 Added saymsg2 for this purpose 57 59 58 60 ***********************************************************************/ … … 974 976 CHAR prompt[CCHMAXPATH * 3]; 975 977 APIRET error; 978 BOOL ignorereadonly = FALSE; 976 979 977 980 for (x = 0; list[x]; x++) { … … 1082 1085 DosDeleteDir(list[x]); 1083 1086 } 1084 else { 1087 else { 1088 INT retrn = 0; 1089 1085 1090 DosError(FERR_DISABLEHARDERR); 1086 1091 if (SHORT1FROMMP(mp1) == IDM_DELETE) … … 1090 1095 if (error) { 1091 1096 DosError(FERR_DISABLEHARDERR); 1092 make_deleteable(list[x], error); 1097 retrn = make_deleteable(list[x], error, ignorereadonly); 1098 if (retrn == 2) 1099 break; 1100 if (retrn == 1) 1101 ignorereadonly = TRUE; 1102 if (retrn == 3) 1103 continue; 1093 1104 if (SHORT1FROMMP(mp1) == IDM_DELETE) 1094 1105 error = DosDelete(list[x]);
Note:
See TracChangeset
for help on using the changeset viewer.