]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.C
fix aspell encoding (confirmed on linux, cygwin and native windows,
[lyx.git] / src / kbmap.C
index 30161748cb8dda04c22fbd546aec93162f064914..b744f9d88f1771fa187fd2bf154f09c9b4ce8705 100644 (file)
@@ -29,6 +29,7 @@
 
 namespace lyx {
 
+using support::FileName;
 using support::i18nLibFileSearch;
 
 using std::endl;
@@ -106,7 +107,7 @@ bool kb_keymap::read(string const & bind_file)
        if (lyxerr.debugging(Debug::PARSER))
                lexrc.printTable(lyxerr);
 
-       string const tmp = i18nLibFileSearch("bind", bind_file, "bind");
+       FileName const tmp(i18nLibFileSearch("bind", bind_file, "bind"));
        lexrc.setFile(tmp);
        if (!lexrc.isOK()) {
                lyxerr << "kb_keymap::read: cannot open bind file:"