Changeset 1001 for trunk/dll/loadbmp.c


Ignore:
Timestamp:
Apr 18, 2008, 6:37:05 PM (17 years ago)
Author:
Steven Levine
Message:

LoadBitmapFromFile ensure pf initialized if no hPS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/loadbmp.c

    r907 r1001  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2006, 2007 Steven H.Levine
     9  Copyright (c) 2006, 2007 Steven H. Levine
    1010
    1111  22 Jul 06 SHL Check more run time errors
     
    1414  16 Jan 07 SHL Open bitmap file binary - no wonder the code does not work
    1515  16 Jan 07 SHL Beautify with indent -i2
    16 
     16  18 Apr 08 SHL LoadBitmapFromFile ensure pf initialized if no hPS
    1717***********************************************************************/
    1818
     
    6161  if (!hPS) {
    6262    Win_Error(HWND_DESKTOP, HWND_DESKTOP, pszSrcFile, __LINE__, "WinGetPS");
     63    pf = NULL;
    6364    goto ExitLoadBMP;
    6465  }
Note: See TracChangeset for help on using the changeset viewer.