fix #432; the one char patch version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4396 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Allan Rae 2002-06-14 06:29:51 +00:00
parent 6f13ab1994
commit d5b4ad899e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-06-14 Allan Rae <rae@lyx.org>
* paragraph.C (InsetIterator): fix #432 by fixing iterator selection.
2002-06-12 "Andrew Zabolotny" <zap@cobra.ru>
* kbmap.C (getiso): add support for cyrillic and greek

View File

@ -1221,7 +1221,7 @@ Paragraph::InsetIterator(pos_type pos)
InsetList::iterator it = insetlist.begin();
InsetList::iterator end = insetlist.end();
for (; it != end; ++it) {
if (it->pos == pos)
if (it->pos >= pos)
break;
}