diff options
author | Marvin Borner | 2019-10-29 00:33:50 +0100 |
---|---|---|
committer | Marvin Borner | 2019-10-29 00:33:50 +0100 |
commit | 798176a8145963d6571154b03abb8d29f9095869 (patch) | |
tree | 8aa01e4d91cfde9edd92b59cb5c9faa9ee117725 /src | |
parent | 4f7484085c0074220ebf425da9f1cd202d4cbda1 (diff) |
Finally fixed a long-existent memory bug
Diffstat (limited to 'src')
-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(); |