Changeset 1673 for trunk/dll/systemf.c
- Timestamp:
- Dec 30, 2012, 7:51:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/systemf.c
r1628 r1673 159 159 PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber) 160 160 { 161 / * executes the command once for all files in list */161 // executes the command once for all files in list 162 162 163 163 CHAR path[CCHMAXPATH], *commandline, modpath[CCHMAXPATH], listfile[CCHMAXPATH], … … 252 252 if (*p == '%') { 253 253 switch (*(p + 1)) { 254 case '!': / * write list to file, add filename */254 case '!': // write list to file, add filename 255 255 if (list) { 256 256 if (!*listfile) { … … 279 279 break; 280 280 281 case 'c': / * add name of command processor */281 case 'c': // add name of command processor 282 282 { 283 283 char *env = GetCmdSpec(FALSE); … … 300 300 break; 301 301 302 case 't': / * add Target directory */302 case 't': // add Target directory 303 303 if (needs_quoting(targetdir) && !strchr(targetdir, '\"')) { 304 304 *pp = '\"'; … … 317 317 break; 318 318 319 case '$': / * add drive letter */319 case '$': // add drive letter 320 320 if (drive) 321 321 *pp = drive; … … 330 330 break; 331 331 332 case 'U': / * add path of first list component */332 case 'U': // add path of first list component 333 333 case 'u': 334 334 if (*modpath) { … … 382 382 break; 383 383 384 case 'P': / * add path of execution */384 case 'P': // add path of execution 385 385 case 'p': 386 386 if (*path) { … … 672 672 strcpy(ex.environment, environment); 673 673 if (flags & PROMPT) { 674 / * allow editing command line */674 // allow editing command line 675 675 ex.flags = (flags & (~PROMPT)); 676 676 ex.commandline = commandline; … … 687 687 else 688 688 ex.flags = flags; 689 //ex.flags &= (~PROMPT); redundant GKY 1-9-10690 689 //DbgMsg(pszSrcFile, __LINE__, "Inserted %s", environment); 691 690 ret = runemf2(ex.flags, hwnd, pszCallingFile, uiLineNumber, path, … … 706 705 { 707 706 /** example: 708 707 * 709 708 * status = runemf2(SEPARATE | WINDOWED, 710 709 * hwnd, pszCallingFile, __LINE__, … … 718 717 * pszCallingFile and __LINE__ are used to determine caller for easier error tracking 719 718 */ 720 721 /** 719 /** 722 720 * type bitmapped flag -- see systemf.h 723 721 */ … … 804 802 if (*pszPgm) { 805 803 if (*pszPgm == '<' && strchr(pszPgm, '>')) { 806 / * is a workplace object */804 // is a workplace object 807 805 HOBJECT hWPSObject; 808 806 char temp; … … 820 818 pszArgs = NULL; 821 819 *p = 0; 822 / * Find the handle of the WPS object */820 // Find the handle of the WPS object 823 821 hWPSObject = WinQueryObject(pszPgm); 824 822 *p = temp; … … 873 871 else 874 872 p = pszPgm; 875 p[strlen(p) + 1] = 0; / * double-terminate args */873 p[strlen(p) + 1] = 0; // double-terminate args 876 874 if (*pszPgm) { 877 875 if (!strchr(pszPgm, '\\') && … … 1115 1113 type |= FULLSCREEN; 1116 1114 } 1117 else / * ? */1115 else // ? 1118 1116 ulAppType = SSF_TYPE_WINDOWABLEVIO; 1119 1117 }
Note:
See TracChangeset
for help on using the changeset viewer.