mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix bug where error boxes where always placed at the beginning of document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@420 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
24c3237e6a
commit
8f41c87a46
@ -1,5 +1,9 @@
|
||||
2000-01-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/texrow.C (getIdFromRow): actually return something useful in
|
||||
id and pos. Hopefully fixes the bug with positionning of errorbox
|
||||
insets.
|
||||
|
||||
* src/lyx_main.C (easyParse): output an error and exit if an
|
||||
incorrect command line option has been given.
|
||||
|
||||
|
@ -69,6 +69,8 @@ void TexRow::getIdFromRow(int row, int & id, int & pos)
|
||||
&& (*kit).pos >= (*cit).pos)
|
||||
(*kit).pos++;
|
||||
}
|
||||
id = (*cit).id;
|
||||
pos = (*cit).pos;
|
||||
} else {
|
||||
id = -1;
|
||||
pos = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user