]> git.lyx.org Git - features.git/commitdiff
another fix for trunk
authorPavel Sanda <sanda@lyx.org>
Sun, 16 Nov 2008 20:35:27 +0000 (20:35 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 16 Nov 2008 20:35:27 +0000 (20:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27587 a592a061-630c-0410-9148-cb99ea01b6c8

src/Thesaurus.cpp

index 37335908f32a4a30a73abacb909fc165312512bb..a5101cc41c50b08e1eb3b68655354ce3b4f2514f 100644 (file)
@@ -110,7 +110,7 @@ Thesaurus::Meanings Thesaurus::lookup(docstring const & t, docstring const &)
 bool Thesaurus::thesaurusAvailable(docstring const & lang) const
 {
        // we support English only
-       return prefixIs(lang, "en_");
+       return prefixIs(lang, from_ascii("en_"));
 }
 
 #endif // HAVE_LIBAIKSAURUS