Changeset 1878 for trunk/dll/cmdline.c
- Timestamp:
- Oct 12, 2015, 12:24:39 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/cmdline.c
r1859 r1878 99 99 LINKCMDLINES *info, *last = NULL, *CmdLineHead; 100 100 PSZ pszCmdLine; 101 //CHAR s[1024];102 101 INT x = 0; 103 102 CHAR *moder = "r"; … … 156 155 FILE *fp; 157 156 PSZ pszCmdLine; 158 //CHAR s[CCHMAXPATH + 14];159 157 CHAR *modew = "w"; 160 158 … … 399 397 MLEsetlimit(WinWindowFromID(hwnd, EXEC_ENVIRON), 1000); 400 398 WinSetDlgItemText(hwnd, EXEC_ENVIRON, ex->environment); 401 // WinEnableWindow(WinWindowFromID(hwnd,EXEC_ENVIRON),FALSE);402 399 WinSendMsg(hwnd, UM_SETUP, MPVOID, MPVOID); 403 400 PosOverOkay(hwnd); … … 421 418 strcpy(executable, ex->path); 422 419 AddBackslashToPath(executable); 423 //if (executable[strlen(executable) - 1] != '\\')424 // strcat(executable, "\\");425 420 } 426 421 else … … 438 433 *p = 0; 439 434 if (IsFile(executable) == -1) { 440 // p = searchpath(executable);441 // if (*p)442 435 if (SearchPathForFile(PCSZ_PATH, executable, executable)) // jbs: OK to have same source and destination? 443 // strcpy(executable, p);444 // else {445 436 WinSetDlgItemText(hwnd, 446 437 EXEC_WARNING2, 447 438 (CHAR *) GetPString(IDS_CANTFINDFILETEXT)); 448 439 break; 449 // }450 440 } 451 441 }
Note:
See TracChangeset
for help on using the changeset viewer.