mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
(svn r19175) [1.0] -Backport from trunk:
- Change: Do not print the absolute path to AI script files in the AI debug window, use the relative path from /ai/ instead (r19166) - Change: The Debian packaging; bring it in sync with the packaging used at Debian excluding package splitting (r19162) - Fix: Buoys are no Stations, only BaseStations (r19174) - Fix: Under some circumstances timidity (via extmidi) would not shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order (r19168) - Fix: Industry 0 could be choosen even if not available [FS#3631] (r19167) - Fix: Vehicle running costs should not be changed in a running game [FS#3629] (r19165)
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
|
||||
/* The buffer is too small for _vsnprintf to write the
|
||||
* null-terminator at its end and return size. */
|
||||
str[size - 1] = '\0';
|
||||
return size;
|
||||
return (int)size;
|
||||
}
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user