summaryrefslogtreecommitdiff
path: root/video/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/console.c')
-rw-r--r--video/console.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/video/console.c b/video/console.c
index 856c313..e23a2c8 100644
--- a/video/console.c
+++ b/video/console.c
@@ -108,8 +108,11 @@ void scr_put_char(char ch,char col)
{
if(ch=='\n')scr_nextline();
- else if(posx<SCR_WIDTH)print_char_col(posx,posy,ch,SCR_WHITE);
- posx++;
+ else if(posx<SCR_WIDTH)
+ {
+ print_char_col(posx,posy,ch,SCR_WHITE);
+ posx++;
+ }
#ifdef FOOLOS_CONSOLE_AUTOBREAK
if(posx>=SCR_WIDTH)scr_nextline();