Skip to content

Commit 65212fe

Browse files
committed
Fix config not reading the last font colour entry
1 parent 5a3f85c commit 65212fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/theme.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ static Result createFontColours(void)
9393
{
9494
Result ret = 0;
9595

96-
char * buf = (char *)malloc(512);
97-
snprintf(buf, 512, coloursConfig, 48, 174, 222,
96+
char * buf = (char *)malloc(1024);
97+
snprintf(buf, 1024, coloursConfig, 48, 174, 222,
9898
255, 255, 255,
9999
0, 0, 0,
100100
95, 95, 95,

0 commit comments

Comments
 (0)