mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* src/text2.C (getPitNearY):
- fix compiler warning (unsigned/signed int comparision). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16312 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
29b6f5cad9
commit
ddac5c916b
@ -943,7 +943,7 @@ pit_type LyXText::getPitNearY(BufferView & bv, int y)
|
||||
&& y >= last->second.y_ + int(pars_[last->first].descent())) {
|
||||
pit = last->first + 1;
|
||||
// and we are not at the last paragraph in the inset.
|
||||
if (pit == pars_.size())
|
||||
if (pit == int(pars_.size()))
|
||||
return last->first;
|
||||
// then this is the paragraph we are looking for.
|
||||
// rebreak it and update the CoordCache.
|
||||
|
Loading…
Reference in New Issue
Block a user