mirror of
https://github.com/kiedtl/fire.git
synced 2024-11-16 04:56:38 +00:00
fix truecolor suport
This commit is contained in:
parent
85794e888f
commit
38165e8071
2
draw.c
2
draw.c
@ -41,7 +41,7 @@ init(struct buffer *buf)
|
||||
// calloc sets the entire screen to black
|
||||
// ...except for the last row, which is white.
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user