projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d53ee5
)
fixed allocation size in call to RtlAllocateHeap
author
Royce Mitchell III
<royce3@ev1.net>
Mon, 28 Jul 2003 19:38:58 +0000
(19:38 +0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Mon, 28 Jul 2003 19:38:58 +0000
(19:38 +0000)
svn path=/trunk/; revision=5304
reactos/lib/gdi32/misc/stubsa.c
patch
|
blob
|
history
diff --git
a/reactos/lib/gdi32/misc/stubsa.c
b/reactos/lib/gdi32/misc/stubsa.c
index
e9b118c
..
6b92df2
100644
(file)
--- a/
reactos/lib/gdi32/misc/stubsa.c
+++ b/
reactos/lib/gdi32/misc/stubsa.c
@@
-1,4
+1,4
@@
-/* $Id: stubsa.c,v 1.1
8 2003/07/28 19:37:13
royce Exp $
+/* $Id: stubsa.c,v 1.1
9 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 );