fix truecolor suport

This commit is contained in:
Kiëd Llaentenn 2020-09-17 18:40:38 +00:00
parent 85794e888f
commit 38165e8071

2
draw.c
View File

@ -41,7 +41,7 @@ init(struct buffer *buf)
// calloc sets the entire screen to black // calloc sets the entire screen to black
// ...except for the last row, which is white. // ...except for the last row, which is white.
// this is the 'base' of the fire. // this is the 'base' of the fire.
memset(buf->buf + len, opts->truecolor ? 35 : 12, buf->width); memset(buf->buf + len, opts->truecolor ? 34 : 12, buf->width);
} }
// update the framebuffer // update the framebuffer