changeset 8991:4a6bf04ea450 draft

(svn r12786) -Change: remove more function from functions.h.
author rubidium <rubidium@openttd.org>
date Sat, 19 Apr 2008 13:04:29 +0000
parents c0b047cd829c
children c0e03990caf0
files src/functions.h src/strings.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/functions.h
+++ b/src/functions.h
@@ -68,7 +68,6 @@
 
 /* callback from drivers that is called if the game size changes dynamically */
 void GameSizeChanged();
-const char *GetCurrentLocale(const char *param);
 
 int ttd_main(int argc, char* argv[]);
 void HandleExitGameRequest();
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1318,6 +1318,8 @@
 
 	return getenv("LANG");
 }
+#else
+const char *GetCurrentLocale(const char *param);
 #endif /* !(defined(WIN32) || defined(__APPLE__)) */
 
 int CDECL StringIDSorter(const void *a, const void *b)