Changeset 1497 for trunk/dll/systemf.c
- Timestamp:
- Jan 8, 2010, 5:39:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/systemf.c
r1492 r1497 147 147 */ 148 148 149 int ExecOnList(HWND hwnd, char *command, int flags, char *tpath,149 int ExecOnList(HWND hwnd, PSZ command, int flags, PSZ tpath, PSZ environment, 150 150 PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber) 151 151 { … … 648 648 { 649 649 EXECARGS ex; 650 ULONG size;650 //ULONG size; 651 651 int ret; 652 652 653 653 memset(&ex, 0, sizeof(EXECARGS)); 654 size = sizeof(ex.environment) - 1;655 PrfQueryProfileData(fmprof, FM3Str, command, ex.environment, &size);654 //size = sizeof(ex.environment) - 1; 655 //PrfQueryProfileData(fmprof, FM3Str, command, ex.environment, &size); 656 656 if (flags & PROMPT) { 657 657 /* allow editing command line */ … … 671 671 ex.flags = flags; 672 672 ex.flags &= (~PROMPT); 673 //DbgMsg(pszSrcFile, __LINE__, "Inserted %s", environment); 673 674 ret = runemf2(ex.flags, hwnd, pszCallingFile, uiLineNumber, path, 674 (*ex.environment) ? ex.environment : NULL,675 environment ? environment : NULL, 675 676 "%s", commandline); 676 677 free(commandline);
Note:
See TracChangeset
for help on using the changeset viewer.