From 48568fef537bf6c57213d1cecac2e4ddbabd1efe Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 22 Aug 2009 14:04:23 +0000 Subject: [PATCH] Now inverse dvi/pdf search is also possible on Win, so we should 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 73dbfbc44e..c7d92081dc 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -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(); -- 2.39.2