diff options
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r-- | src/kernel/graphics/vesa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c index f255da4..508e46c 100644 --- a/src/kernel/graphics/vesa.c +++ b/src/kernel/graphics/vesa.c @@ -299,7 +299,8 @@ void vesa_keyboard_char(char ch) { // terminal_scroll(); } else if (ch >= ' ') { vesa_draw_char(ch); - strcat(text, &ch); + char tmp[2] = {ch}; + strcat(text, tmp); } // terminal_scroll(); |