1
0
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:
Sébastien Helleu
2023-07-03 22:59:37 +02:00
parent e311564387
commit ed67f4bf0a
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -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)))
{
-2
View File
@@ -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;