Changeset 1750 for trunk/dll/cmdline.c
- Timestamp:
- Mar 1, 2014, 2:55:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/cmdline.c
r1749 r1750 437 437 *p = 0; 438 438 if (IsFile(executable) == -1) { 439 p = searchpath(executable); 440 if (*p) 441 strcpy(executable, p); 442 else { 439 // p = searchpath(executable); 440 // if (*p) 441 if (SearchPathForFile(PCSZ_PATH, executable, executable)) // jbs: OK to have same source and destination? 442 // strcpy(executable, p); 443 // else { 443 444 WinSetDlgItemText(hwnd, 444 445 EXEC_WARNING2, 445 446 (CHAR *) GetPString(IDS_CANTFINDFILETEXT)); 446 447 break; 447 }448 // } 448 449 } 449 450 }
Note:
See TracChangeset
for help on using the changeset viewer.