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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user