]> git.lyx.org Git - features.git/commitdiff
Fix from George to deal with the --disable-nls case
authorJosé Matox <jamatos@lyx.org>
Mon, 11 Sep 2006 11:58:47 +0000 (11:58 +0000)
committerJosé Matox <jamatos@lyx.org>
Mon, 11 Sep 2006 11:58:47 +0000 (11:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14976 a592a061-630c-0410-9148-cb99ea01b6c8

src/messages.C

index 2b049c705efee0908dbc805f95190f11e96f1f01..1f192e9fc75729b68a5ed6426e990b28d285e147 100644 (file)
@@ -224,9 +224,9 @@ public:
 
        ~Pimpl() {}
 
-       string const get(string const & m) const
+       docstring const get(string const & m) const
        {
-               return m;
+               return lyx::from_ascii(m);
        }
 };
 #endif