From 52baa724b57d200fa6b31fdad6a6b20ea4cb6122 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 22 Jan 2007 10:38:37 +0000 Subject: [PATCH] From Bernhard Roider: * src/insets/insetexternal.C (InsetExternalParams::read): Read filenames with spaces correctly git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16806 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/insetexternal.C | 2 +- status.14x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/insets/insetexternal.C b/src/insets/insetexternal.C index e6b1f89ced..9d5a09577f 100644 --- a/src/insets/insetexternal.C +++ b/src/insets/insetexternal.C @@ -296,7 +296,7 @@ bool InsetExternalParams::read(Buffer const & buffer, LyXLex & lex) break; case EX_FILENAME: { - lex.next(); + lex.eatLine(); string const name = lex.getString(); filename.set(name, buffer.filePath()); break; diff --git a/status.14x b/status.14x index ed31a2bf2c..49230022e8 100644 --- a/status.14x +++ b/status.14x @@ -204,6 +204,8 @@ What's new - Determine PDF image size within LyX correctly (bug 2418). +- Read filenames with spaces in external insets correctly from .lyx files + * Build/installation: - Allow autoconf 2.60 and 2.61 for building.