MakeDisplayPath(fname, 50));
return false;
}
+
+ char c = ifs.peek();
+
LyXLex lex(0, 0);
lex.setStream(ifs);
- char c; ifs.get(c);
- ifs.putback(c);
bool res = true;
int tmpid = -1;
int tmppos = -1;
- buffer()->texrow.getIdFromRow(errorrow, tmpid, tmppos);
-
+ if (buffer()->texrow.getIdFromRow(errorrow, tmpid, tmppos)) {
+ buffer()->texrow.increasePos(tmpid, tmppos);
+ }
+
LyXParagraph * texrowpar = 0;
if (tmpid == -1) {