diff options
author | tron <tron@openttd.org> | 2005-02-05 22:50:33 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-05 22:50:33 +0000 |
commit | 12183084b75365777aecd57fe43a355f39d1200c (patch) | |
tree | 68059d4827f8ac3262d8aecaf7170b7109c27180 /network_gui.c | |
parent | 491063c9a13274c8f05c82da5bf1d935797b3a16 (diff) | |
download | openttd-12183084b75365777aecd57fe43a355f39d1200c.tar.xz |
(svn r1808) Use strcmp() instead of home brewed function str_eq()
Diffstat (limited to 'network_gui.c')
-rw-r--r-- | network_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c index 72204b185..f5aea33e3 100644 --- a/network_gui.c +++ b/network_gui.c @@ -1368,7 +1368,7 @@ static void ChatWindowWndProc(Window *w, WindowEvent *e) case 3: DeleteWindow(w); break; // Cancel case 2: // Send press_ok:; - if (str_eq(WP(w,querystr_d).buf, WP(w,querystr_d).buf + MAX_QUERYSTR_LEN)) { + if (strcmp(WP(w,querystr_d).buf, WP(w,querystr_d).buf + MAX_QUERYSTR_LEN) == 0) { DeleteWindow(w); } else { byte *buf = WP(w,querystr_d).buf; |