mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
* Fixed the call to LoadImageW/RemovePropW if there is given
an identifier in LoadImageA/RemovePropA. svn path=/trunk/; revision=3711
This commit is contained in:
parent
e8899a2a5b
commit
1d127839b8
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue