From: André Pönitz Date: Fri, 10 Aug 2001 11:04:23 +0000 (+0000) Subject: move error message to a better place... X-Git-Tag: 1.6.10~20867 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8de80cc1e743d5e3226b56c3456fe8b1fa60f6a0;p=features.git move error message to a better place... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2478 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index 95d76d4262..b07c576d5c 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -312,6 +312,7 @@ int MathGridInset::cellYOffset(int idx) const return rowinfo_[row(idx)].offset_; } + bool MathGridInset::idxUp(int & idx, int & pos) const { if (idx < ncols()) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index 86270f47ac..c6479cc273 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -245,9 +245,9 @@ private: unsigned char Parser::getuchar() { char c = 0; - is_.get(c); if (!is_.good()) lyxerr << "The input stream is not well..." << endl; + is_.get(c); return static_cast(c); } @@ -303,7 +303,7 @@ int Parser::yylex() while (is_.good()) { unsigned char c = getuchar(); - lyxerr << "reading byte: '" << c << "' code: " << lexcode[c] << endl; + //lyxerr << "reading byte: '" << c << "' code: " << lexcode[c] << endl; if (lexcode[c] == LexNewLine) { ++lineno_;