* Fixed the call to LoadImageW/RemovePropW if there is given
authorHartmut Birr <osexpert@googlemail.com>
Tue, 5 Nov 2002 20:58:20 +0000 (20:58 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Tue, 5 Nov 2002 20:58:20 +0000 (20:58 +0000)
  an identifier in LoadImageA/RemovePropA.

svn path=/trunk/; revision=3711

reactos/lib/user32/windows/bitmap.c
reactos/lib/user32/windows/prop.c

index b512cf9..169a83d 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: bitmap.c,v 1.6 2002/09/30 21:21:38 chorns Exp $
+/* $Id: bitmap.c,v 1.7 2002/11/05 20:58:20 hbirr Exp $
  *
  * PROJECT:         ReactOS user32.dll
  * FILE:            lib/user32/windows/input.c
@@ -57,7 +57,7 @@ LoadImageA(HINSTANCE hinst,
     }
   else
     {
-      Handle = LoadImageW(hinst, lpszWName, uType, cxDesired,
+      Handle = LoadImageW(hinst, (LPCWSTR)lpszName, uType, cxDesired,
                          cyDesired, fuLoad);
     }
   return(Handle);
index efff72e..2a09604 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: prop.c,v 1.5 2002/09/17 23:46:23 dwelch Exp $
+/* $Id: prop.c,v 1.6 2002/11/05 20:58:20 hbirr Exp $
  *
  * PROJECT:         ReactOS user32.dll
  * FILE:            lib/user32/windows/input.c
@@ -118,7 +118,7 @@ RemovePropA(HWND hWnd, LPCSTR lpString)
     }
   else
     {
-      Ret = RemovePropW(hWnd, lpWString);
+      Ret = RemovePropW(hWnd, (LPCWSTR)lpString);
     }
   return(Ret);
 }