mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Compile fix for those systems where pos_type is not typedef'd to int.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37751 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
624f725acb
commit
9866d2a097
@ -183,7 +183,7 @@ bool GuiErrorList::goTo(int item)
|
||||
BufferView * bv = const_cast<BufferView *>(bufferview());
|
||||
// FIXME LFUN
|
||||
// If we used an LFUN, we would not need these lines:
|
||||
bv->putSelectionAt(dit, max(range, 1), false);
|
||||
bv->putSelectionAt(dit, max(range, pos_type(1)), false);
|
||||
bv->processUpdateFlags(Update::Force | Update::FitCursor);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user