fix blocks.c

This commit is contained in:
ceriel
1987-08-03 14:40:49 +00:00
parent 1640b8cad8
commit af3e759da2
2 changed files with 14 additions and 9 deletions

View File

@@ -96,7 +96,13 @@ load_block(sz, al)
{
arith esz = ATW(sz); /* effective size == actual # pushed bytes */
if (((sz == al) && (word_align % al == 0)) || (al % word_align == 0))
if (
((sz == al) && (word_align % al == 0)) ||
(
(sz % word_size == 0 || word_size % sz == 0) &&
(al % word_align == 0)
)
) /* Lots of Irritating Stupid Parentheses */
C_loi(sz);
else {
#ifndef STB