From d01d8e4cb03de5c04d0b4c9254937c2c52a56380 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 5 Feb 2018 17:43:12 -0500 Subject: Take scale into account for when to stop drawing in gfxx --- bin/gfxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gfxx.c b/bin/gfxx.c index 11f9aa20..43cbe5f6 100644 --- a/bin/gfxx.c +++ b/bin/gfxx.c @@ -182,7 +182,7 @@ static bool nextY(struct Iter *it) { } it->x = it->left; if (mirror) it->x += width - 1; - return (it->left < it->xres); + return (it->left < it->xres / scale); } static bool next(struct Iter *it) { -- cgit 1.4.1