]> git.lyx.org Git - features.git/blobdiff - src/messages.C
the current_view patch
[features.git] / src / messages.C
index 663da2a8f2317413cfcb224b971d6c2aa04b7ac0..18b30d06058780727e90aadb445705c1e09cb250 100644 (file)
@@ -102,6 +102,9 @@ public:
 
        string const get(string const & m) const
        {
+               if (m.empty())
+                       return m;
+
                char * old = strdup(setlocale(LC_ALL, 0));
                char * n = setlocale(LC_ALL, lang_.c_str());
                const char* msg = gettext(m.c_str());