forked from mirror/OpenTTD
(svn r1923) - Fix: [ 1155696 ] Crash with german umlauts in station names. The width was not calculated using unsigned values, so all characters above 128 were "negative"
- Codechange: a more proper check for a null pointer in tunnelbridge_cmd.c should have gone in with the previous commit
This commit is contained in:
@@ -609,7 +609,8 @@ uint CheckTunnelBusy(uint tile, int *length)
|
||||
return (uint)-1;
|
||||
}
|
||||
|
||||
if (length) *length = len;
|
||||
if (length != NULL)
|
||||
*length = len;
|
||||
return tile;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user