Changeset 1647


Ignore:
Timestamp:
Nov 13, 2011, 6:18:54 AM (14 years ago)
Author:
Gregg Young
Message:

Fixed Help Viewer's falure to open help files from its dialog and fixed failure of files with spaces; Ticket 481. (The previous commit was for Ticket 480).

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r1628 r1647  
    7070  26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the
    7171                xDosAlloc* wrappers.
     72  12 Nov 11 GKY Fixed HelpViewer's failure to open help files and subsequent failure with files with spaces.
    7273
    7374***********************************************************************/
     
    10951096    ret = runemf2(SEPARATE | WINDOWED, HWND_DESKTOP, pszSrcFile, __LINE__,
    10961097                  NULL, NULL,
    1097                   "VIEW.EXE \"%s\"",
     1098                  "VIEW.EXE %s",
    10981099                  BldQuotedFileName(szQuotedFileName, filename));
    10991100  }
  • trunk/dll/viewinf.c

    r1544 r1647  
    567567            p++;
    568568            bstrip(p);
    569             if (!*p)
     569            if (!*p) {
    570570              if (!fAlertBeepOff)
    571571                DosBeep(50, 100);
    572             else
     572            }
     573            else {
     574              // DbgMsg(pszSrcFile, __LINE__, "Help file %s", p);
    573575              ViewHelp(p);
     576            }
    574577            break;
    575578          }
Note: See TracChangeset for help on using the changeset viewer.