summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/gfxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gfxx.c b/bin/gfxx.c
index ead9e2cd..1dfb3bfa 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) {
0'>2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe