Ignore:
Timestamp:
Jan 9, 2000, 4:56:06 PM (26 years ago)
Author:
sandervl
Message:

win32 look update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/loadres.cpp

    r2383 r2384  
    1 /* $Id: loadres.cpp,v 1.18 2000-01-09 14:37:09 sandervl Exp $ */
     1/* $Id: loadres.cpp,v 1.19 2000-01-09 15:56:02 sandervl Exp $ */
    22
    33/*
     
    390390 HBITMAP hBitmap = 0;
    391391
    392   return LoadBitmapA((hinst == 0) ? hInstanceUser32:hinst,lpszBitmap,0,0,0);
    393 #if 0
    394392  if (!hinst)
    395393  {
    396394    if(IsSystemBitmap((ULONG *)&lpszBitmap))
    397395    {
    398       hBitmap = O32_LoadBitmap(hInstanceUser32,lpszBitmap);
    399       if (!hBitmap) hBitmap = O32_LoadBitmap(hinst,lpszBitmap);
    400     } else hBitmap = 0;
    401   } else hBitmap = LoadBitmapA(hinst, lpszBitmap, 0, 0, 0);
     396         hBitmap =  LoadBitmapA(hInstanceUser32, lpszBitmap, 0, 0, 0);
     397    }
     398    else hBitmap = 0;
     399  }
     400  else hBitmap = LoadBitmapA(hinst, lpszBitmap, 0, 0, 0);
     401
    402402  dprintf(("LoadBitmapA returned %08xh\n", hBitmap));
    403 #endif
     403
    404404  return(hBitmap);
    405405}
Note: See TracChangeset for help on using the changeset viewer.