From e423b7d1a012f78f2fcb46a57f28b13ef9d567ef Mon Sep 17 00:00:00 2001 From: Adam Mayer Date: Sat, 10 Feb 2018 13:20:43 -0500 Subject: [PATCH] fix for unreachable code (should have been looking for a tab, not a newline) --- apple410/plot_to_cairo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple410/plot_to_cairo.py b/apple410/plot_to_cairo.py index 1d18dfc..80d96d2 100755 --- a/apple410/plot_to_cairo.py +++ b/apple410/plot_to_cairo.py @@ -60,7 +60,7 @@ class Font: if c == '\r' or c == '\n': xoff = 0 yoff += 10 - elif c == '\n': + elif c == '\t': xoff += 20 else: self.render_char(ctx,c,xoff,yoff)