1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

core: fix display glitch in command errors when a wide char is set in option weechat.look.command_chars (closes #1871)

This commit is contained in:
Sébastien Helleu
2023-01-12 20:28:29 +01:00
parent 1a15171912
commit 0d622df87a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
Bug fixes::
* core: fix display glitch in command errors when a wide char is set in option weechat.look.command_chars (issue #1871)
* typing: fix crash when pointer buffer is not received in callback for signal "input_text_changed" (issue #1869)
Build::
+2 -2
View File
@@ -63,7 +63,7 @@
argv[0], \
(__option && __option[0]) ? " " : "", \
(__option && __option[0]) ? __option : "", \
argv[0] + 1); \
utf8_next_char (argv[0])); \
return WEECHAT_RC_ERROR; \
}
@@ -76,7 +76,7 @@
"(help on command: /help %s)"), \
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], \
argv_eol[0], \
argv[0] + 1); \
utf8_next_char (argv[0])); \
return WEECHAT_RC_ERROR; \
}