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:
parent
d6438387ad
commit
07d98a33c2
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue