mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: fix styles
This commit is contained in:
@@ -396,7 +396,8 @@ gui_key_flush (int paste)
|
||||
* or if the mouse code is valid UTF-8 (do not send partial mouse
|
||||
* code which is not UTF-8 valid)
|
||||
*/
|
||||
if (!paste && i > gui_key_last_key_pressed_sent
|
||||
if (!paste
|
||||
&& (i > gui_key_last_key_pressed_sent)
|
||||
&& (!gui_mouse_event_pending
|
||||
|| utf8_is_valid (key_str, -1, NULL)))
|
||||
{
|
||||
|
||||
@@ -2390,9 +2390,7 @@ gui_key_pressed (const char *key_str)
|
||||
rc_expand = gui_key_expand (gui_key_combo, &key_name, &key_name_alias);
|
||||
|
||||
if (!rc_expand)
|
||||
{
|
||||
goto end_no_input;
|
||||
}
|
||||
|
||||
ptr_key = NULL;
|
||||
exact_match = 0;
|
||||
|
||||
Reference in New Issue
Block a user