aboutsummaryrefslogtreecommitdiff
path: root/games/spacehulk/files/patch-src::network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/spacehulk/files/patch-src::network.cpp')
-rw-r--r--games/spacehulk/files/patch-src::network.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/spacehulk/files/patch-src::network.cpp b/games/spacehulk/files/patch-src::network.cpp
new file mode 100644
index 000000000000..f4eef3b80ed2
--- /dev/null
+++ b/games/spacehulk/files/patch-src::network.cpp
@@ -0,0 +1,23 @@
+--- src/network.cpp.orig Mon Aug 25 12:17:02 2003
++++ src/network.cpp Thu Aug 28 20:47:35 2003
+@@ -28,6 +28,7 @@
+ #include <qsocket.h>
+ #include <qstring.h>
+ #include <qtextstream.h>
++#include <ctype.h>
+
+ #include "network.h"
+
+@@ -102,9 +103,9 @@
+ break;
+ response += responseLine;
+ }
+- guicmd->Write(response);
+- }
+- guicmd->Write(responseLine);
++ guicmd->Write(response.latin1());
++}
++guicmd->Write(responseLine.latin1());
+ }
+
+ void NetworkInterface::sendFile(QString &filename, bool initgame)