1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

core: fix quote used in /help option for values (type integer with strings)

This commit is contained in:
Sebastien Helleu
2012-08-20 15:28:50 +02:00
parent 2944adc954
commit 1fe7d25c8d
+2 -2
View File
@@ -2093,9 +2093,9 @@ COMMAND_CALLBACK(help)
i = 0;
while (ptr_option->string_values[i])
{
strcat (string, "'");
strcat (string, "\"");
strcat (string, ptr_option->string_values[i]);
strcat (string, "'");
strcat (string, "\"");
if (ptr_option->string_values[i + 1])
strcat (string, ", ");
i++;