From 252e92fe6409dec72c8aff17f2669126ea9df138 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 26 Jul 2016 14:05:25 -0300 Subject: [PATCH] sch2fig/fig.c (fig_label): offset was reversed for "up" --- sch2fig/fig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sch2fig/fig.c b/sch2fig/fig.c index 595bcb6..bfbc945 100644 --- a/sch2fig/fig.c +++ b/sch2fig/fig.c @@ -99,7 +99,7 @@ void fig_label(int x, int y, const char *s, int dir, int dim, case 1: /* up */ txt.rot = 90; txt.hor = text_min; - dx = 1; + dx = -1; break; case 2: /* left */ txt.rot = 0;