transfig/0001-Correct-a-typo-causing-incorrect-eps-import-137.patch
2021-10-11 13:27:19 +02:00

26 lines
770 B
Diff

From 1b09a885a8f0309bf1170ddcf07673801c79f895 Mon Sep 17 00:00:00 2001
From: Thomas Loimer <thomas.loimer@tuwien.ac.at>
Date: Tue, 28 Sep 2021 21:58:41 +0200
Subject: [PATCH] Correct a typo causing incorrect eps import, #137
---
fig2dev/dev/readeps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fig2dev/dev/readeps.c b/fig2dev/dev/readeps.c
index a7d6008..efeb33e 100644
--- a/fig2dev/dev/readeps.c
+++ b/fig2dev/dev/readeps.c
@@ -346,7 +346,7 @@ read_eps(F_pic *pic, struct xfig_stream *restrict pic_stream, int *llx,int *lly)
}
*llx = floor(rllx);
*lly = floor(rlly);
- pic->bit_size.x = (int)(rurx - rlly);
+ pic->bit_size.x = (int)(rurx - rllx);
pic->bit_size.y = (int)(rury - rlly);
break;
}
--
2.31.1