Changeset 888 for trunk/dll/mainwnd2.c


Ignore:
Timestamp:
Dec 22, 2007, 11:02:11 PM (18 years ago)
Author:
Gregg Young
Message:

runemf2 now quotes executable strings if needed (Ticket 180); it also reports where it was called from on errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd2.c

    r875 r888  
    501501          CHAR szPath2[CCHMAXPATH];
    502502          runemf2(SEPARATE,
    503                   HWND_DESKTOP, NULL, NULL,
     503                  HWND_DESKTOP, pszSrcFile, __LINE__,
     504                  NULL, NULL,
    504505                  "%s %s %s",
    505506                  dircompare,
    506507                  BldQuotedFileName(szPath1, wa.szCurrentPath1),
    507508                  BldQuotedFileName(szPath2, wa.szCurrentPath2));
    508           // CHAR *d1 = "\"", *d2 = "\"";
    509           // if (!needs_quoting(wa.szCurrentPath1))
    510           //   *d1 = 0;
    511           // if (!needs_quoting(wa.szCurrentPath2))
    512           //   *d2 = 0;
    513           // runemf2(SEPARATE,
    514           //      HWND_DESKTOP,
    515           //      NULL,
    516           //      NULL,
    517           //      "%s %s%s%s %s%s%s",
    518           //      dircompare,
    519           //      d1, wa.szCurrentPath1, d1, d2, wa.szCurrentPath2, d2);
    520509        }
    521510      }
Note: See TracChangeset for help on using the changeset viewer.