mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
DBcellcopy.c: fix warning: self-comparison always evaluates to false
Looks like a straighforward logic bug from a recent (2023) change. GCC14 -Wall cleanup series [-Wtautological-compare]
This commit is contained in:
committed by
Tim Edwards
parent
015f03307a
commit
4ea0f6a9b7
@@ -666,7 +666,7 @@ DBFlattenInPlace(use, dest, xMask, dolabels, toplabels, doclear)
|
||||
scx.scx_y++;
|
||||
scx.scx_x = use->cu_xlo;
|
||||
}
|
||||
else if (use->cu_yhi > use->cu_yhi)
|
||||
else if (use->cu_ylo > use->cu_yhi)
|
||||
{
|
||||
scx.scx_y--;
|
||||
scx.scx_x = use->cu_xlo;
|
||||
|
||||
Reference in New Issue
Block a user