]> git.lyx.org Git - lyx.git/commitdiff
Consistent variable defintions don't need explicit conversion with picky compilers...
authorAngus Leeming <leeming@lyx.org>
Mon, 18 Jul 2005 20:34:55 +0000 (20:34 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 18 Jul 2005 20:34:55 +0000 (20:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10335 a592a061-630c-0410-9148-cb99ea01b6c8

src/text2.C

index 4d88d64e22d81a0c96099b0caf61a76d1aba5cfa..87310fe7ff51b83aac909a6f78d754a6660eacfa 100644 (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;