Changeset - r11578:ecd0c4fe5dec
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-04-04 10:59:14
rubidium@openttd.org
(svn r15953) -Fix [FS#2783]: left - right != width causing strings to be truncated too early
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -403,7 +403,7 @@ static int DrawString(int left, int righ
 
	int initial_right = right;
 
	int initial_top = top;
 

	
 
	if (truncate) TruncateString(str, right - left);
 
	if (truncate) TruncateString(str, right - left + 1);
 

	
 
	/*
 
	 * To support SETX and SETXY properly with RTL languages we have to
0 comments (0 inline, 0 general)