mirror of
https://github.com/kiedtl/fire.git
synced 2024-12-22 22:26:39 +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
|
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user