mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
"Fix" explorer crash.
svn path=/trunk/; revision=26508
This commit is contained in:
parent
96d2b5521b
commit
42f1c2363d
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ CopyImage(
|
|||
|
||||
/* Fill in biSizeImage */
|
||||
GetDIBits(dc, hnd, 0, ds.dsBm.bmHeight, NULL, bi, DIB_RGB_COLORS);
|
||||
bits = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bi->bmiHeader.biSizeImage);
|
||||
bits = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bi->bmiHeader.biSizeImage * 2); /* HACK */
|
||||
|
||||
if (bits)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue