1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

fix bug in stock

This commit is contained in:
Nikolas Garofil 2010-04-24 18:09:09 +02:00
parent 9a50e0ed19
commit 343a2f6842

View File

@ -142,10 +142,10 @@ static struct text_object *create_plain_text(const char *s)
void stock_parse_arg(struct text_object *obj, const char *arg)
{
char stock[8];
char data[8];
char data[16];
obj->data.s = NULL;
if(sscanf(arg, "%7s %7s", stock, data) != 2) {
if(sscanf(arg, "%7s %15s", stock, data) != 2) {
NORM_ERR("wrong number of arguments for $stock");
return;
}