summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-02-07 19:45:08 +0000
committerdarkvater <darkvater@openttd.org>2005-02-07 19:45:08 +0000
commitdda3e0fb4a9c8593fe9dc16c1b06cd52a3e32494 (patch)
treee038a73a2b4ae43132597a7dcbb6f68197d008f6 /misc_gui.c
parent034dac2c85d96f59a9ae1bd6032478a548809d99 (diff)
downloadopenttd-dda3e0fb4a9c8593fe9dc16c1b06cd52a3e32494.tar.xz
(svn r1845) - Revert r1835 since it totally screws network compiling
- Fix: fix some VS.NET warnings - Add missing file to VS.NET project file
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 5fa581367..241e9ae1a 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -15,6 +15,11 @@
#include "sound.h"
#include "network.h"
+// Windows stuff for Clipboard
+#if defined(WIN32)
+#include <windows.h>
+#endif
+
#include "hal.h" // for file list
bool _query_string_active;
@@ -700,7 +705,7 @@ static void DrawStationCoverageText(const uint *accepts, int str_x, int str_y, u
if (b == &_userstring[3]) {
b[0] = 0x81;
- b[1] = STR_00D0_NOTHING;
+ b[1] = (char)STR_00D0_NOTHING;
b[2] = STR_00D0_NOTHING >> 8;
b[3] = 0;
} else {