Fixed a negative tile width calculation in ResMakeRes.c, as

pointed out by github user "LegumeEmittingDiode".  I agree with
the suggested fix and have implemented it exactly as suggested
in github issue #537.
This commit is contained in:
R. Timothy Edwards 2026-07-08 09:51:37 -04:00
parent d6438387ad
commit 07d98a33c2
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ ResCalcEastWest(tile, pendingList, doneList, resList)
p1 = info->breakList;
if (p1->br_next == NULL)
{
p1->br_this->rn_float.rn_area += height * (LEFT(tile) - RIGHT(tile));
p1->br_this->rn_float.rn_area += height * (RIGHT(tile) - LEFT(tile));
freeMagic((char *)p1);
info->breakList = NULL;
return(merged);