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

This commit is contained in:
Adam Mayer 2018-02-10 13:20:43 -05:00
parent 3aa063ef79
commit e423b7d1a0
1 changed files with 1 additions and 1 deletions

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)