]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.C
*** empty log message ***
[lyx.git] / src / gettext.C
index f9163fcb34416c2d1b30b4cbbd377a18f53f0ad8..77b1a672755bca096a9f6e2d725c9d8474288418 100644 (file)
@@ -42,12 +42,12 @@ string const _(string const & str)
                char * tmp = new char[s + 1];
                str.copy(tmp, s);
                tmp[s] = '\0';
-               string ret(gettext(tmp));
+               string const ret(gettext(tmp));
                delete [] tmp;
                return ret;
-       }
-       else
+       } else {
                return string();
+       }
 }
 
 void locale_init()