You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/conky/files/conky-1.9.0-default-graph-s...

19 lines
738 B

diff -r -U 5 conky-1.9.0/src/specials.c conky-1.9.0/src/specials.c
--- conky-1.9.0/src/specials.c 2012-05-03 22:13:47.000000000 +0100
+++ conky-1.9.0/src/specials.c 2013-02-27 21:16:15.856669451 +0000
@@ -186,12 +186,12 @@
g->scale = defscale;
if (sscanf(args, "%1023s %d,%d %x %x", buf, &g->height, &g->width, &g->first_colour, &g->last_colour) == 5) {
return strndup(buf, text_buffer_size);
}
buf[0] = '\0';
- g->height = 25;
- g->width = 0;
+ g->height = default_graph_height;
+ g->width = default_graph_width;
if (sscanf(args, "%x %x %u", &g->first_colour, &g->last_colour, &g->scale) == 3) {
return NULL;
}
g->scale = defscale;
if (sscanf(args, "%x %x", &g->first_colour, &g->last_colour) == 2) {