]> git.lyx.org Git - lyx.git/commitdiff
Now inverse dvi/pdf search is also possible on Win, so we should
authorEnrico Forestieri <forenr@lyx.org>
Sat, 22 Aug 2009 14:04:23 +0000 (14:04 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 22 Aug 2009 14:04:23 +0000 (14:04 +0000)
care that no backslashes can slip in.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31198 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXFunc.cpp

index 73dbfbc44efb399287c1a4a1d8b1a0dfb1fd40f5..c7d92081dc4d6c760701a7928ea9b28327a40b25 100644 (file)
@@ -1118,6 +1118,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                        int row;
                        istringstream is(argument);
                        is >> file_name >> row;
+                       file_name = os::internal_path(file_name);
                        Buffer * buf = 0;
                        bool loaded = false;
                        string const abstmp = package().temp_dir().absFilename();