diff --git a/src/servers/app/ServerFont.cpp b/src/servers/app/ServerFont.cpp index 70ab7658a5..c2e6bb2e6d 100644 --- a/src/servers/app/ServerFont.cpp +++ b/src/servers/app/ServerFont.cpp @@ -812,7 +812,7 @@ ServerFont::StringWidth(const char *string, int32 numBytes, StringWidthConsumer consumer; if (!GlyphLayoutEngine::LayoutGlyphs(consumer, *this, string, numBytes, - deltaArray, kerning, fSpacing)) + deltaArray, kerning, fSpacing)) return 0.0; return consumer.width;