1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

core: increase command buffer size in /color command

In case of long alias name, the command to set color alias could be truncated.
This commit is contained in:
Sébastien Helleu
2020-11-21 21:08:11 +01:00
parent ee24fac586
commit 194f8b5b74
+1 -1
View File
@@ -1437,7 +1437,7 @@ COMMAND_CALLBACK(buffer)
COMMAND_CALLBACK(color)
{
char *str_alias, *str_rgb, *pos, *error;
char str_color[1024], str_command[1024];
char str_color[1024], str_command[2048];
long number, limit;
unsigned int rgb;
int i;