Changeset 1673 for trunk/dll/systemf.c


Ignore:
Timestamp:
Dec 30, 2012, 7:51:01 PM (13 years ago)
Author:
Gregg Young
Message:

Update to Doxygen comment style Ticket 55. Also some minor code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1628 r1673  
    159159               PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber)
    160160{
    161   /* executes the command once for all files in list */
     161  // executes the command once for all files in list
    162162
    163163  CHAR path[CCHMAXPATH], *commandline, modpath[CCHMAXPATH], listfile[CCHMAXPATH],
     
    252252    if (*p == '%') {
    253253      switch (*(p + 1)) {
    254       case '!':                 /* write list to file, add filename */
     254      case '!':                 // write list to file, add filename
    255255        if (list) {
    256256          if (!*listfile) {
     
    279279        break;
    280280
    281       case 'c':                 /* add name of command processor */
     281      case 'c':                 // add name of command processor
    282282        {
    283283          char *env = GetCmdSpec(FALSE);
     
    300300        break;
    301301
    302       case 't':                 /* add Target directory */
     302      case 't':                 // add Target directory
    303303        if (needs_quoting(targetdir) && !strchr(targetdir, '\"')) {
    304304          *pp = '\"';
     
    317317        break;
    318318
    319       case '$':                 /* add drive letter */
     319      case '$':                 // add drive letter
    320320        if (drive)
    321321          *pp = drive;
     
    330330        break;
    331331
    332       case 'U':                 /* add path of first list component */
     332      case 'U':                 // add path of first list component
    333333      case 'u':
    334334        if (*modpath) {
     
    382382        break;
    383383
    384       case 'P':                 /* add path of execution */
     384      case 'P':                 // add path of execution
    385385      case 'p':
    386386        if (*path) {
     
    672672      strcpy(ex.environment, environment);
    673673    if (flags & PROMPT) {
    674       /* allow editing command line */
     674      // allow editing command line
    675675      ex.flags = (flags & (~PROMPT));
    676676      ex.commandline = commandline;
     
    687687    else
    688688      ex.flags = flags;
    689     //ex.flags &= (~PROMPT);  redundant GKY 1-9-10
    690689    //DbgMsg(pszSrcFile, __LINE__, "Inserted %s", environment);
    691690    ret = runemf2(ex.flags, hwnd, pszCallingFile, uiLineNumber, path,
     
    706705{
    707706  /** example:
    708 
     707   *
    709708   * status = runemf2(SEPARATE | WINDOWED,
    710709   *                  hwnd, pszCallingFile, __LINE__,
     
    718717   * pszCallingFile and __LINE__ are used to determine caller for easier error tracking
    719718   */
    720 
    721   /**
     719   /**
    722720   * type bitmapped flag -- see systemf.h
    723721   */
     
    804802  if (*pszPgm) {
    805803    if (*pszPgm == '<' && strchr(pszPgm, '>')) {
    806       /* is a workplace object */
     804      // is a workplace object
    807805      HOBJECT hWPSObject;
    808806      char temp;
     
    820818        pszArgs = NULL;
    821819      *p = 0;
    822       /* Find the handle of the WPS object */
     820      // Find the handle of the WPS object
    823821      hWPSObject = WinQueryObject(pszPgm);
    824822      *p = temp;
     
    873871      else
    874872        p = pszPgm;
    875       p[strlen(p) + 1] = 0;             /* double-terminate args */
     873      p[strlen(p) + 1] = 0;             // double-terminate args
    876874      if (*pszPgm) {
    877875        if (!strchr(pszPgm, '\\') &&
     
    11151113            type |= FULLSCREEN;
    11161114          }
    1117           else                          /* ? */
     1115          else                          // ?
    11181116            ulAppType = SSF_TYPE_WINDOWABLEVIO;
    11191117        }
Note: See TracChangeset for help on using the changeset viewer.