summaryrefslogtreecommitdiff
path: root/sys/src/libttf
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-10-12 11:40:34 +0000
committeraiju <devnull@localhost>2018-10-12 11:40:34 +0000
commitccfb6f412643128d5a537df73805c8478f0a24ae (patch)
tree2086cdb4ea56953c4fde463dd36237b2c514616e /sys/src/libttf
parent4808971db6c402f0f50a9bd2145e0e2daa5786fa (diff)
libttf: fix swapped argument in vscan()...
Diffstat (limited to 'sys/src/libttf')
-rw-r--r--sys/src/libttf/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libttf/scan.c b/sys/src/libttf/scan.c
index c76143555..8a3743954 100644
--- a/sys/src/libttf/scan.c
+++ b/sys/src/libttf/scan.c
@@ -314,7 +314,7 @@ vscan(Scan *s)
}
if(seen == 3 && j > 0 && iswhite(s, i, j-1) && iswhite(s, i, j)){
if((s->flags & STUBDET) == 0){
- pixel(s, j-1, i);
+ pixel(s, i, j-1);
continue;
}
if(i <= 0 || i > s->width - 1 || j <= 0 || j > s->height - 1)