Skip to content

Commit

Permalink
Fix config not reading the last font colour entry
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Dec 31, 2017
1 parent 5a3f85c commit 65212fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ static Result createFontColours(void)
{
Result ret = 0;

char * buf = (char *)malloc(512);
snprintf(buf, 512, coloursConfig, 48, 174, 222,
char * buf = (char *)malloc(1024);
snprintf(buf, 1024, coloursConfig, 48, 174, 222,
255, 255, 255,
0, 0, 0,
95, 95, 95,
Expand Down

0 comments on commit 65212fe

Please sign in to comment.