mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Allow NUL characters in strings (#1405)
This commit is contained in:
@@ -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