(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 16 years ago
parent fd97a89c57
commit cbe397388f

@ -1259,7 +1259,7 @@ static void ViewportAddWaypoints(DrawPixelInfo *dpi)
void UpdateViewportSignPos(ViewportSign *sign, int left, int top, StringID str)
{
char buffer[128];
char buffer[256];
uint w;
sign->top = top;

@ -27,7 +27,7 @@ struct ViewPort {
struct ViewportSign {
int32 left;
int32 top;
byte width_1, width_2;
uint16 width_1, width_2;
};
enum {

Loading…
Cancel
Save