summaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index f095967..b19abcd 100644
--- a/src/render.c
+++ b/src/render.c
@@ -256,7 +256,8 @@ s32 render_text(font *font, s32 x, s32 y, char *text, color tint)
{
ch = 0x3f;
}
- if (ch == '\n') ch = 0xB6;
+ if (ch == 10) ch = 0xB6;
+ if (ch == 13) continue;
glyph g = font->glyphs[ch];