winedos: Fixed memory resize function which returned paragraphs in some cases instead of bytes.
This commit is contained in:
parent
a488ee8e7a
commit
e83b62f3d0
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue