diff --git a/src/modules/graphics/opengl/Font.cpp b/src/modules/graphics/opengl/Font.cpp index 94e8896e9..9cd5db7fe 100644 --- a/src/modules/graphics/opengl/Font.cpp +++ b/src/modules/graphics/opengl/Font.cpp @@ -446,7 +446,7 @@ std::vector Font::getWrap(const std::string &text, float wrap, int width += getWidth(word); // on wordwrap, push line to line buffer and clear string builder - if (width >= wrap && oldwidth > 0) + if (width > wrap && oldwidth > 0) { int realw = (int) width;