mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
Tiny compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3260 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5144bfbad9
commit
a41a4c065d
@ -1,3 +1,7 @@
|
||||
2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* tabular_funcs.C: getline -> std::getline
|
||||
|
||||
2001-12-21 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
|
||||
|
@ -229,7 +229,7 @@ void l_getline(istream & is, string & str)
|
||||
{
|
||||
str.erase();
|
||||
while (str.empty()) {
|
||||
getline(is, str);
|
||||
std::getline(is, str);
|
||||
if (!str.empty() && str[str.length() - 1] == '\r')
|
||||
str.erase(str.length() - 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user