Changeset 1692 for trunk/dll/arccnrs.c
- Timestamp:
- Aug 11, 2013, 7:11:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1690 r1692 2962 2962 if (dcd->directory && fFileNameCnrPath && 2963 2963 stricmp(lastextractpath, dcd->directory)) { 2964 strcpy(lastextractpath, dcd->directory); 2964 strcpy(lastextractpath, dcd->directory); 2965 //DbgMsg(pszSrcFile, __LINE__, "Extract dir %s", dcd->directory); 2965 2966 SetDir(dcd->hwndParent, hwnd, dcd->directory, 1); 2966 2967 } … … 3676 3677 else 3677 3678 strcpy(dcd->directory, extractpath); 3678 } 3679 if (!*dcd->directory && fFileNameCnrPath && dcd->arcname) { 3679 } 3680 // Removed because it can't be set from inside the container and names with a space 3681 // break it. I don't think it makes sense from the container any way GKY 8-10-13 3682 /*if (!*dcd->directory && fFileNameCnrPath && dcd->arcname) { 3680 3683 strcpy(fullname, dcd->arcname); 3681 3684 p = strrchr(fullname, '.'); 3682 if (p) 3683 *p = 0; 3685 if (p) { 3686 *p = 0; 3687 } 3684 3688 else { 3685 3689 p = fullname + strlen(fullname); 3686 3687 3690 p--; 3691 *p = 0; 3688 3692 } 3689 3693 strcpy(dcd->directory, fullname); 3690 } 3694 } */ 3691 3695 if (!*dcd->directory && *lastextractpath) { 3692 3696 //DosEnterCritSec(); //GKY 11-29-08
Note:
See TracChangeset
for help on using the changeset viewer.