fix for unreachable code (should have been looking for a tab, not a newline)

This commit is contained in:
Adam Mayer committed 2018-02-10 13:20:43 -05:00
1 parent 3aa063ef79
commit e423b7d1a0
1 file changed
+1 -1
+1 -1
View File
@@ -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)