mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 00:39:18 +00:00
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:
parent
7507a19bf6
commit
3b4d243019
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user