diff options
-rw-r--r-- | src/core/wee-secure-buffer.c | 4 | ||||
-rw-r--r-- | src/gui/curses/gui-curses-color.c | 8 | ||||
-rw-r--r-- | src/gui/gui-buffer.c | 4 | ||||
-rw-r--r-- | src/plugins/irc/irc-input.c | 2 | ||||
-rw-r--r-- | src/plugins/relay/relay-buffer.c | 10 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-buffer.c | 10 |
6 files changed, 17 insertions, 21 deletions
diff --git a/src/core/wee-secure-buffer.c b/src/core/wee-secure-buffer.c index fac429d97..78a3e9db7 100644 --- a/src/core/wee-secure-buffer.c +++ b/src/core/wee-secure-buffer.c @@ -153,10 +153,8 @@ secure_buffer_input_cb (const void *pointer, void *data, (void) pointer; (void) data; - if (string_strcasecmp (input_data, "q") == 0) - { + if (string_strcmp (input_data, "q") == 0) gui_buffer_close (buffer); - } return WEECHAT_RC_OK; } diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index ebcd33f02..0d0474456 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -1199,20 +1199,20 @@ gui_color_buffer_input_cb (const void *pointer, void *data, (void) pointer; (void) data; - if (string_strcasecmp (input_data, "e") == 0) + if (string_strcmp (input_data, "e") == 0) { gui_color_buffer_extra_info ^= 1; gui_color_buffer_display (); } - else if (string_strcasecmp (input_data, "r") == 0) + else if (string_strcmp (input_data, "r") == 0) { gui_color_buffer_display (); } - else if (string_strcasecmp (input_data, "q") == 0) + else if (string_strcmp (input_data, "q") == 0) { gui_buffer_close (buffer); } - else if (string_strcasecmp (input_data, "z") == 0) + else if (string_strcmp (input_data, "z") == 0) { gui_color_reset_pairs (); } diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 24ea19037..a1441e236 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -920,10 +920,8 @@ gui_buffer_user_input_cb (const void *pointer, void *data, if (rc == WEECHAT_RC_OK_EAT) return WEECHAT_RC_OK; - if (string_strcasecmp (input_data, "q") == 0) - { + if (string_strcmp (input_data, "q") == 0) gui_buffer_close (buffer); - } return WEECHAT_RC_OK; } diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c index d2fd9e241..46ed15fb6 100644 --- a/src/plugins/irc/irc-input.c +++ b/src/plugins/irc/irc-input.c @@ -206,7 +206,7 @@ irc_input_data (struct t_gui_buffer *buffer, const char *input_data, int flags, if (buffer == irc_raw_buffer) { - if (weechat_strcasecmp (input_data, "q") == 0) + if (weechat_strcmp (input_data, "q") == 0) weechat_buffer_close (buffer); else irc_raw_filter_options (input_data); diff --git a/src/plugins/relay/relay-buffer.c b/src/plugins/relay/relay-buffer.c index d61ed0fcc..fdad19cdd 100644 --- a/src/plugins/relay/relay-buffer.c +++ b/src/plugins/relay/relay-buffer.c @@ -166,7 +166,7 @@ relay_buffer_input_cb (const void *pointer, void *data, if (buffer == relay_raw_buffer) { - if (weechat_strcasecmp (input_data, "q") == 0) + if (weechat_strcmp (input_data, "q") == 0) weechat_buffer_close (buffer); } else if (buffer == relay_buffer) @@ -174,7 +174,7 @@ relay_buffer_input_cb (const void *pointer, void *data, client = relay_client_search_by_number (relay_buffer_selected_line); /* disconnect client */ - if (weechat_strcasecmp (input_data, "d") == 0) + if (weechat_strcmp (input_data, "d") == 0) { if (client && !RELAY_CLIENT_HAS_ENDED(client)) { @@ -183,7 +183,7 @@ relay_buffer_input_cb (const void *pointer, void *data, } } /* purge old clients */ - else if (weechat_strcasecmp (input_data, "p") == 0) + else if (weechat_strcmp (input_data, "p") == 0) { ptr_client = relay_clients; while (ptr_client) @@ -196,12 +196,12 @@ relay_buffer_input_cb (const void *pointer, void *data, relay_buffer_refresh (WEECHAT_HOTLIST_MESSAGE); } /* quit relay buffer (close it) */ - else if (weechat_strcasecmp (input_data, "q") == 0) + else if (weechat_strcmp (input_data, "q") == 0) { weechat_buffer_close (buffer); } /* remove client */ - else if (weechat_strcasecmp (input_data, "r") == 0) + else if (weechat_strcmp (input_data, "r") == 0) { if (client && RELAY_CLIENT_HAS_ENDED(client)) { diff --git a/src/plugins/xfer/xfer-buffer.c b/src/plugins/xfer/xfer-buffer.c index 99deb1edf..c4195bb49 100644 --- a/src/plugins/xfer/xfer-buffer.c +++ b/src/plugins/xfer/xfer-buffer.c @@ -273,7 +273,7 @@ xfer_buffer_input_cb (const void *pointer, void *data, xfer = xfer_search_by_number (xfer_buffer_selected_line); /* accept xfer */ - if (weechat_strcasecmp (input_data, "a") == 0) + if (weechat_strcmp (input_data, "a") == 0) { if (xfer && XFER_IS_RECV(xfer->type) && (xfer->status == XFER_STATUS_WAITING)) @@ -282,7 +282,7 @@ xfer_buffer_input_cb (const void *pointer, void *data, } } /* cancel xfer */ - else if (weechat_strcasecmp (input_data, "c") == 0) + else if (weechat_strcmp (input_data, "c") == 0) { if (xfer && !XFER_HAS_ENDED(xfer->status)) { @@ -291,7 +291,7 @@ xfer_buffer_input_cb (const void *pointer, void *data, } } /* purge old xfer */ - else if (weechat_strcasecmp (input_data, "p") == 0) + else if (weechat_strcmp (input_data, "p") == 0) { ptr_xfer = xfer_list; while (ptr_xfer) @@ -304,12 +304,12 @@ xfer_buffer_input_cb (const void *pointer, void *data, xfer_buffer_refresh (WEECHAT_HOTLIST_MESSAGE); } /* quit xfer buffer (close it) */ - else if (weechat_strcasecmp (input_data, "q") == 0) + else if (weechat_strcmp (input_data, "q") == 0) { weechat_buffer_close (buffer); } /* remove xfer */ - else if (weechat_strcasecmp (input_data, "r") == 0) + else if (weechat_strcmp (input_data, "r") == 0) { if (xfer && XFER_HAS_ENDED(xfer->status)) { |