Changeset - r20656:c9f76dcb9f84
[Not reviewed]
master
0 1 0
michi_cc - 11 years ago 2013-08-05 20:50:55
michi_cc@openttd.org
(svn r25694) -Fix (r25651): Picky GCC.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/gfx_layout.cpp
Show inline comments
 
@@ -554,7 +554,7 @@ Point Layouter::GetCharPosition(const ch
 
			for (int i = 0; i < run->getGlyphCount(); i++) {
 
				/* Matching glyph? Return position. */
 
				if ((size_t)run->getGlyphToCharMap()[i] == index) {
 
					Point p = { run->getPositions()[i * 2], run->getPositions()[i * 2 + 1] };
 
					Point p = { (int)run->getPositions()[i * 2], (int)run->getPositions()[i * 2 + 1] };
 
					return p;
 
				}
 
			}
0 comments (0 inline, 0 general)