summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-05 22:50:33 +0000
committertron <tron@openttd.org>2005-02-05 22:50:33 +0000
commit12183084b75365777aecd57fe43a355f39d1200c (patch)
tree68059d4827f8ac3262d8aecaf7170b7109c27180 /town_cmd.c
parent491063c9a13274c8f05c82da5bf1d935797b3a16 (diff)
downloadopenttd-12183084b75365777aecd57fe43a355f39d1200c.tar.xz
(svn r1808) Use strcmp() instead of home brewed function str_eq()
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index 39a68b527..ad7dd4847 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -879,7 +879,7 @@ restart:
if (t2->xy != 0) {
SetDParam(0, t2->townnameparts);
GetString(buf2, t2->townnametype);
- if (str_eq(buf1, buf2))
+ if (strcmp(buf1, buf2) == 0)
goto restart;
}
}