mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed allocation size in call to RtlAllocateHeap
svn path=/trunk/; revision=5304
This commit is contained in:
parent
0d53ee5681
commit
c96f5dedff
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: stubsa.c,v 1.18 2003/07/28 19:37:13 royce Exp $
|
||||
/* $Id: stubsa.c,v 1.19 2003/07/28 19:38:58 royce Exp $
|
||||
*
|
||||
* reactos/lib/gdi32/misc/stubs.c
|
||||
*
|
||||
|
@ -743,7 +743,7 @@ GetEnhMetaFileDescriptionA(
|
|||
if ( lpszDescription && cchBuffer )
|
||||
{
|
||||
hHeap = RtlGetProcessHeap();
|
||||
lpszDescriptionW = (LPWSTR)RtlAllocateHeap ( hHeap, 0, cchBuffer );
|
||||
lpszDescriptionW = (LPWSTR)RtlAllocateHeap ( hHeap, 0, cchBuffer*sizeof(WCHAR) );
|
||||
}
|
||||
|
||||
rc = W32kGetEnhMetaFileDescription ( hemf, cchBuffer, lpszDescriptionW );
|
||||
|
|
Loading…
Reference in a new issue