Changeset 1798 for trunk/dll/extract.c
- Timestamp:
- Mar 16, 2015, 11:19:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/extract.c
r1791 r1798 25 25 31 Aug 14 GKY Fix failure to remove leading quote on toogle of extract directory to and 26 26 from using file name. 27 16 Mar 15 GKY Fixed case where leading quote fix would remove the drive letter. 27 28 28 29 ***********************************************************************/ … … 167 168 p--; 168 169 *p = 0; 169 if (strchr(FileName, '\"') == strrchr(FileName, '\"'))170 if (strchr(FileName, '\"') && strchr(FileName, '\"') == strrchr(FileName, '\"')) 170 171 memmove(FileName , FileName + 1, strlen(FileName) + 1); 171 172 } … … 315 316 p--; 316 317 *p = 0; 317 if (strchr(FileName, '\"') == strrchr(FileName, '\"'))318 if (strchr(FileName, '\"') && strchr(FileName, '\"') == strrchr(FileName, '\"')) 318 319 memmove(FileName, FileName + 1, strlen(FileName) + 1); 319 320 } … … 356 357 strcpy(arcdata->extractdir, pFM2SaveDirectory); 357 358 } 358 if (strchr(arcdata->extractdir, '\"') == strrchr(arcdata->extractdir, '\"'))359 if (strchr(arcdata->extractdir, '\"') && strchr(arcdata->extractdir, '\"') == strrchr(arcdata->extractdir, '\"')) 359 360 memmove(arcdata->extractdir, arcdata->extractdir + 1, 360 361 strlen(arcdata->extractdir) + 1);
Note:
See TracChangeset
for help on using the changeset viewer.