summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-05-22 16:09:06 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:10:02 +0200
commit956213a0b57842c3829c0fe13ac917d242e0effb (patch)
tree6e72a8c5359342d4e8222665610781036a2db4ea
parent676600a83becf1d8da0ba8f7a56fa8ce544fe7ce (diff)
Fixed few errors made during the cleaning process
-rw-r--r--po/cs_CZ.po2
-rw-r--r--src/modules/modPipe.c2
-rw-r--r--src/modules/modWall.c1
-rw-r--r--src/net/udp.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/po/cs_CZ.po b/po/cs_CZ.po
index 9bb1c4a..1e7cfe8 100644
--- a/po/cs_CZ.po
+++ b/po/cs_CZ.po
@@ -719,7 +719,7 @@ msgstr "Změna zbraně:"
#: src/screen/screen_settingKeys.c:413
msgid "Player 1"
-msgstr "Hráč 1:"
+msgstr "Hráč 1"
#: src/screen/screen_settingKeys.c:417
msgid "Up:"
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index adf542c..297fc51 100644
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -168,7 +168,7 @@ static void cmd_teleport(char *line)
if (spacePipe == NULL) {
spacePipe = space_new(export_fce->fce_arena_get_current()->w,
export_fce->fce_arena_get_current()->h, 320, 240,
- etStatusPipe, setStatusPipe);
+ getStatusPipe, setStatusPipe);
}
space_add(spacePipe, new);
diff --git a/src/modules/modWall.c b/src/modules/modWall.c
index 67a63c1..bb451e0 100644
--- a/src/modules/modWall.c
+++ b/src/modules/modWall.c
@@ -18,7 +18,6 @@
#include "publicServer.h"
#endif
-#ifndef PUBLIC_SERVER
typedef struct wall_struct {
int id;
diff --git a/src/net/udp.c b/src/net/udp.c
index 292a0db..b8675c7 100644
--- a/src/net/udp.c
+++ b/src/net/udp.c
@@ -55,7 +55,7 @@ void sock_udp_destroy(sock_udp_t *p)
sock_udp_t *sock_udp_bind(char *address, int port)
{
sock_udp_t *new;
- ret = -1; /* no warnings */
+ int res = -1; /* no warnings */
assert(port > 0 && port < 65535);