(svn r1808) Use strcmp() instead of home brewed function str_eq()

This commit is contained in:
tron
2005-02-05 22:50:33 +00:00
parent 491063c9a1
commit 12183084b7
6 changed files with 6 additions and 15 deletions

View File

@@ -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;