Add se functions, match Hekate brace style

This commit is contained in:
shchmue 2020-05-17 17:45:48 -06:00
parent 0427c99176
commit a5fe954ce7
6 changed files with 117 additions and 12 deletions

View file

@ -216,7 +216,8 @@ void gfx_putc(char c)
cbuf++;
}
gfx_con.x += 16;
if (gfx_con.x >= gfx_ctxt.width - 16) {
if (gfx_con.x >= gfx_ctxt.width - 16)
{
gfx_con.x = 0;
gfx_con.y += 16;
}
@ -250,7 +251,8 @@ void gfx_putc(char c)
fb += gfx_ctxt.stride - 8;
}
gfx_con.x += 8;
if (gfx_con.x >= gfx_ctxt.width - 8) {
if (gfx_con.x >= gfx_ctxt.width - 8)
{
gfx_con.x = 0;
gfx_con.y += 8;
}