Changeset - r10055:e754c2215cb8
[Not reviewed]
master
0 2 0
smatz - 16 years ago 2008-09-02 14:46:28
smatz@openttd.org
(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/viewport.cpp
Show inline comments
 
@@ -1259,7 +1259,7 @@ static void ViewportAddWaypoints(DrawPix
 

	
 
void UpdateViewportSignPos(ViewportSign *sign, int left, int top, StringID str)
 
{
 
	char buffer[128];
 
	char buffer[256];
 
	uint w;
 

	
 
	sign->top = top;
src/viewport_type.h
Show inline comments
 
@@ -27,7 +27,7 @@ struct ViewPort {
 
struct ViewportSign {
 
	int32 left;
 
	int32 top;
 
	byte width_1, width_2;
 
	uint16 width_1, width_2;
 
};
 

	
 
enum {
0 comments (0 inline, 0 general)