mirror of
https://github.com/gbdev/rgbds.git
synced 2026-12-03 15:28:39 +00:00
Allow NUL characters in strings (#1405)
This commit is contained in:
1 parent
9cc595b2cc
commit
623c3f662c
15 files changed
+91
-37
No files matched your search
@@ -36,6 +36,9 @@ char const *printChar(int c) {
|
||||
case '\t':
|
||||
buf[2] = 't';
|
||||
break;
|
||||
case '\0':
|
||||
buf[2] = '0';
|
||||
break;
|
||||
|
||||
default: // Print as hex
|
||||
buf[0] = '0';
|
||||
|
||||
Reference in new issue
Block a user