From 66c63a89ef2336b65df3a35065608537e6e343e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 26 Apr 2002 06:13:30 +0000 Subject: [PATCH] bug fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4071 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_arrayinset.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mathed/math_arrayinset.C b/src/mathed/math_arrayinset.C index 6aaa618d45..b9e442d8fd 100644 --- a/src/mathed/math_arrayinset.C +++ b/src/mathed/math_arrayinset.C @@ -40,9 +40,8 @@ MathArrayInset::MathArrayInset(string const & name, string const & str) { vector< vector > dat; istringstream is(str.c_str()); - while (is) { - string line; - getline(is, line); + string line; + while (getline(is, line)) { istringstream ls(line.c_str()); typedef istream_iterator iter; vector v = vector(iter(ls), iter()); -- 2.39.2