Changeset 1736 for trunk/dll/misc.c


Ignore:
Timestamp:
Feb 21, 2014, 10:46:10 PM (11 years ago)
Author:
Gregg Young
Message:

Revert tentative fix as the code changed wasn't accessed when reproducing the error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r1734 r1736  
    962962                                 sizeof(szData)))
    963963            {
    964               BOOL fDisplayEqualFile = FALSE;
    965 
    966               if (pci->pszFileName == pci->pszDisplayName)
    967                 fDisplayEqualFile = TRUE;
    968               pci->pszFileName = xrealloc(pci->pszFileName, sizeof(szData), pszSrcFile, __LINE__);
     964              pci->pszFileName = xrealloc(pci->pszFileName, sizeof(szData), pszSrcFile, __LINE__);
    969965              strcpy(szData, pci->pszFileName);
    970               if (fDisplayEqualFile)
    971                 pci->pszDisplayName = pci->pszFileName;
    972             }
     966            }
    973967            WinSetWindowText(hwndMLE, szData);
    974968            if (strcmp(szData, testname)) {
Note: See TracChangeset for help on using the changeset viewer.