Changeset 1673 for trunk/dll/defview.c
- Timestamp:
- Dec 30, 2012, 7:51:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/defview.c
r1656 r1673 203 203 ULONG flags, CHAR * filename) 204 204 { 205 /* 205 /** 206 206 * bitmapped flags: 207 207 * --------------- … … 228 228 } 229 229 230 if (flags & 1) / * directly view the file */230 if (flags & 1) // directly view the file 231 231 goto ViewIt; 232 232 233 if (flags & 2) { / * open default WPS view of file */233 if (flags & 2) { // open default WPS view of file 234 234 OpenObject(filename, Default, hwnd); 235 235 return; 236 236 } 237 237 238 if (flags & 4) { / * open WPS settings notebook for file */238 if (flags & 4) { // open WPS settings notebook for file 239 239 OpenObject(filename, Settings, hwnd); 240 240 return; 241 241 } 242 242 243 if ((flags & 16) || !IsFile(filename)) { / * open info for directories */243 if ((flags & 16) || !IsFile(filename)) { // open info for directories 244 244 245 245 char fullname[CCHMAXPATH]; … … 267 267 } 268 268 269 if (flags & 8) { / * edit file */269 if (flags & 8) { // edit file 270 270 271 271 ULONG type = IDM_EDITTEXT; … … 282 282 break; 283 283 } 284 / * else intentional fallthru */284 // else intentional fallthru 285 285 case IDM_EDITTEXT: 286 286 if (*editor)
Note:
See TracChangeset
for help on using the changeset viewer.