Commit e83b62f3 authored by Peter Dons Tychsen's avatar Peter Dons Tychsen Committed by Alexandre Julliard

winedos: Fixed memory resize function which returned paragraphs in some cases instead of bytes.

parent a488ee8e
......@@ -368,7 +368,7 @@ UINT DOSMEM_ResizeBlock(void *ptr, UINT size, BOOL exact)
/* resize needed? */
if (mcb->size == size)
return size;
return size << 4;
/* collapse free blocks */
DOSMEM_Collapse( mcb );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment