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

This commit is contained in:
Peter Dons Tychsen 2008-11-24 00:22:35 +01:00 committed by Alexandre Julliard
parent a488ee8e7a
commit e83b62f3d0
1 changed files with 1 additions and 1 deletions

View File

@ -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 );