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':
|
if c == '\r' or c == '\n':
|
||||||
xoff = 0
|
xoff = 0
|
||||||
yoff += 10
|
yoff += 10
|
||||||
elif c == '\n':
|
elif c == '\t':
|
||||||
xoff += 20
|
xoff += 20
|
||||||
else:
|
else:
|
||||||
self.render_char(ctx,c,xoff,yoff)
|
self.render_char(ctx,c,xoff,yoff)
|
||||||
|
|
Loading…
Reference in New Issue