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
This commit is contained in:
Georg Baum 2007-01-22 10:38:37 +00:00
parent 4832786600
commit 52baa724b5
2 changed files with 3 additions and 1 deletions

View File

@ -296,7 +296,7 @@ bool InsetExternalParams::read(Buffer const & buffer, LyXLex & lex)
break; break;
case EX_FILENAME: { case EX_FILENAME: {
lex.next(); lex.eatLine();
string const name = lex.getString(); string const name = lex.getString();
filename.set(name, buffer.filePath()); filename.set(name, buffer.filePath());
break; break;

View File

@ -204,6 +204,8 @@ What's new
- Determine PDF image size within LyX correctly (bug 2418). - Determine PDF image size within LyX correctly (bug 2418).
- Read filenames with spaces in external insets correctly from .lyx files
* Build/installation: * Build/installation:
- Allow autoconf 2.60 and 2.61 for building. - Allow autoconf 2.60 and 2.61 for building.