mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
"Fix" explorer crash.
svn path=/trunk/; revision=26508
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user