# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/ploticus/axis-gridblocks.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # Copyright (C) 1998 - 2004 ROCK Linux Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- This fixes (workarounds) gridblock drawing. The original code drew the whole area, and then started at the top overdrawing the first block and thus missing one at the button (or reversed if reversed ...). This changes the behaviour to always draw downwards (or reversed) and thus at least yielding the correct gridblocks - although the performance is bad (many block fills ...). - Rene Rebe diff -ur pl221src/src/proc_axis.c pl221src-fixed/src/proc_axis.c --- pl221src/src/proc_axis.c 2004-05-11 21:11:53.000000000 +0200 +++ pl221src-fixed/src/proc_axis.c 2004-06-04 18:50:19.000000000 +0200 @@ -937,7 +937,7 @@ Ecblock( glemin, gbylast, glemax, Ea( Y, y ), gbcolor2, 0 ); gbstate = 0; } - gbylast = Ea( Y, y ); + /* gbylast = Ea( Y, y ); */ } else { linedet( "grid", grid, 0.5 );