- Now really fix unicode issues
authorunc0rr
Sun, 27 Aug 2006 12:41:27 +0000
changeset 126 93df479aa1b9
parent 125 0532e70b1ce4
child 127 ca70467bd0a8
- Now really fix unicode issues - Some other small fixes
QTfrontend/netclient.h
hedgewars/CMakeLists.txt
hedgewars/uGears.pas
--- a/QTfrontend/netclient.h	Sat Aug 26 10:54:13 2006 +0000
+++ b/QTfrontend/netclient.h	Sun Aug 27 12:41:27 2006 +0000
@@ -148,7 +148,7 @@
 
 #define SENDCFGSTRLOC(a)   {\
 							QByteArray strmsg; \
-							strmsg.append(a); \
+							strmsg.append(QString(a).toUtf8()); \
 							quint8 sz = strmsg.size(); \
 							QByteArray enginemsg = QByteArray((char *)&sz, 1) + strmsg; \
 							emit FromNet(enginemsg); \
--- a/hedgewars/CMakeLists.txt	Sat Aug 26 10:54:13 2006 +0000
+++ b/hedgewars/CMakeLists.txt	Sun Aug 27 12:41:27 2006 +0000
@@ -16,7 +16,7 @@
 string(REGEX MATCH "[0-9]+\\.[0-9]+" dcc32version "${dcc32_output}")
 if (dcc32version)
 	set(pascal_compiler ${dcc32_executable})
-	set(pascal_compiler_flags "-B -W "${hwengine_project})
+	set(pascal_compiler_flags "-B" "-W" ${hwengine_project})
 else (dcc32version)
 	string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" fpc_version "${fpc_output}")
 	if (fpc_version)
--- a/hedgewars/uGears.pas	Sat Aug 26 10:54:13 2006 +0000
+++ b/hedgewars/uGears.pas	Sun Aug 27 12:41:27 2006 +0000
@@ -628,7 +628,8 @@
                        FollowGear:= t.ar[i]
                        end;
            end
-    end
+    end;
+SetAllToActive
 end;
 
 procedure AssignHHCoords;