diff --git a/aegisub/src/gl_text.cpp b/aegisub/src/gl_text.cpp index f5c43ec93..fdad91fd4 100644 --- a/aegisub/src/gl_text.cpp +++ b/aegisub/src/gl_text.cpp @@ -288,8 +288,9 @@ bool OpenGLTextTexture::TryToInsert(OpenGLTextGlyph &glyph) { if (nextY+h > height) return false; x = 0; y = nextY; - nextY = y+h; Insert(glyph); + x += w; + nextY = y+h; return true; } }