]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.C
"Inter-word Space"
[lyx.git] / src / bufferview_funcs.C
index dde58c3fc98feabef1be24634c35e11e5de491b3..0ef62d3b4850e49628b2d4d5c4266a5cc4e72e65 100644 (file)
@@ -319,7 +319,11 @@ string const currentState(BufferView * bv)
                buffer->params.getLyXTextClass().defaultfont();
        font.reduce(defaultfont);
 
-       state << bformat(_("Font: %1$s"), font.stateText(&buffer->params));
+       // avoid _(...) re-entrance problem
+       string const s = font.stateText(&buffer->params);
+       state << bformat(_("Font: %1$s"), s);
+
+       // state << bformat(_("Font: %1$s"), font.stateText(&buffer->params));
 
        // The paragraph depth
        int depth = text->getDepth();