diff --git a/src/renderer.c b/src/renderer.c index e756cbb9..c2fa233e 100644 --- a/src/renderer.c +++ b/src/renderer.c @@ -289,7 +289,7 @@ float ren_draw_text(RenFont **fonts, const char *text, float x, int y, RenColor break; if (start_x + (glyph_end - glyph_start) >= clip_end_x) glyph_end = glyph_start + (clip_end_x - start_x); - else if (start_x < clip.x) { + if (start_x < clip.x) { int offset = clip.x - start_x; start_x += offset; glyph_start += offset;