]> git.lyx.org Git - lyx.git/commitdiff
From Bernhard Roider:
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 21 Jan 2007 21:46:33 +0000 (21:46 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 21 Jan 2007 21:46:33 +0000 (21:46 +0000)
* src/insets/insetexternal.C
(InsetExternalParams::read): Read filenames with spaces correctly

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

src/insets/insetexternal.C

index 0eed62d01c043770bbfcde47b6c1b6f9c061b590..910d3d071a55a3d2230672a217d987144652de64 100644 (file)
@@ -290,7 +290,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;