Add: README

Fix: newline when PrintInt outputs 0
This commit is contained in:
ytshih committed 2024-10-05 04:13:43 +08:00
1 parent 486f032cf0
commit 5b1cd5e1cf
2 files changed
+18 -1

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ int SysCreate(char *filename)
}
void SysPrintInt(int value) {
static char zero[2] = "0";
static char zero[3] = "0\n";
if (value == 0) {
kernel->synchConsoleOut->PutString(zero);