]> git.lyx.org Git - lyx.git/blobdiff - src/font.C
Fix fuer #209
[lyx.git] / src / font.C
index 8c5ef6851dcc787a78056440fa10c2b1e0677c42..0f7e707c9f4bc59f4f77620230795ca5653f3e61 100644 (file)
@@ -153,7 +153,8 @@ int lyxfont::width(char const * s, size_t n, LyXFont const & f)
 
 int lyxfont::signedWidth(string const & s, LyXFont const & f)
 {
-       if (s.empty()) return 0;
+       if (s.empty())
+               return 0;
        if (s[0] == '-')
                return -width(s.substr(1, s.length() - 1), f);
        else