Consistent variable defintions don't need explicit conversion with picky compilers...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10335 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-07-18 20:34:55 +00:00
parent 7b8d863cb3
commit 83ce5ac33e

View File

@ -868,7 +868,7 @@ pos_type LyXText::getColumnNearX(pit_type const pit,
#endif
x = int(tmpx) + xo;
int const col = c - row.pos();
pos_type const col = c - row.pos();
if (!c || end == par.size())
return col;