Skip to content

Commit

Permalink
Fixed graph initialization defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted Marston authored and brndnmtthws committed Oct 27, 2013
1 parent 9f7e1c0 commit 11a13d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/specials.c
Expand Up @@ -188,8 +188,8 @@ char *scan_graph(struct text_object *obj, const char *args, int defscale)
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;
}
Expand Down

0 comments on commit 11a13d3

Please sign in to comment.