fix for unreachable code (should have been looking for a tab, not a newline)
This commit is contained in:
parent
3aa063ef79
commit
e423b7d1a0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue