(svn r19875) [1.0] -Backport from trunk:

- Fix: NetBSD compilation was still broken in some cases [FS#3845] (r19874, r19859)
- Fix: If the (guessed initial) destination tile of a road vehicle was not a road stop but was a T-junction or turn, the road vehicles would jump around in circles [FS#3817] (r19873)
- Fix: When a network connection gets lost and a game with AIs was loaded the client might crash due to the AIs not being loaded while the game loop is executed [FS#3819] (r19869)
- Fix: Use non-breaking spaces for currency pre-/postfixes (r19867)
- Fix: Crash when changing/viewing locale settings in the console [FS#3830] (r19865, r19864, r19863, r19862)
This commit is contained in:
rubidium
2010-05-21 16:03:29 +00:00
parent 0c01de0929
commit a68647b11e
11 changed files with 82 additions and 58 deletions
+2 -2
View File
@@ -397,7 +397,7 @@ size_t Utf8TrimString(char *s, size_t maxlen)
return length;
}
#ifndef _GNU_SOURCE
#ifdef DEFINE_STRNDUP
#include "core/math_func.hpp"
char *strndup(const char *s, size_t len)
{
@@ -406,7 +406,7 @@ char *strndup(const char *s, size_t len)
memcpy(tmp, s, len);
return tmp;
}
#endif /* !_GNU_SOURCE */
#endif /* DEFINE_STRNDUP */
#ifdef DEFINE_STRCASESTR
char *strcasestr(const char *haystack, const char *needle)