Small fix for MSDOS encoded .lyx-files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/lyx-1_1_5@886 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2000-07-17 10:00:17 +00:00
parent 7507a19bf6
commit 3b4d243019
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-07-17 Juergen Vigna <jug@sad.it>
* src/table.C (Read): small fix for reading tabular-code with MS-DOS
encoded .lyx-files.
2000-07-01 Dekel Tsur <dekel@math.tau.ac.il>
* src/text.C (TransformChar): Changed to work correctly with

View File

@ -977,7 +977,8 @@ void LyXTable::Read(istream & is)
int h = 0;
string s;
getline(is, s);
while(s.empty())
getline(is, s);
if (s.length() > 8)
version = atoi(s.c_str() + 8);
else