summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-17 14:56:01 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-17 14:56:01 +0100
commit54d36998da2e98039b960a3a9e6fb82e09717991 (patch)
tree49ab40cafbd33fb3a91df9a4157895e2059f6f55 /video
parente1b3206c11baa396edaf49bfb45a2a443717eaa4 (diff)
trying to reactivate multitasking.
Diffstat (limited to 'video')
-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();