summaryrefslogtreecommitdiff
path: root/games/spacehulk/files/patch-src::network.cpp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-28 18:58:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-28 18:58:50 +0000
commit2c4631b76344d6e3b336f0a7a36c1d8ea930bca7 (patch)
tree87178ec0874df28a43c5701641c768575c56d9ed /games/spacehulk/files/patch-src::network.cpp
parentDon't list Data.fs, as it's precious and should not be overwritten when (diff)
- Update to version 1.4.5
Notes
Notes: svn path=/head/; revision=87920
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)