mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-25 08:14:31 +00:00
Fix STRFMT stopping at NUL characters in format spec strings
This commit is contained in:
@@ -26,3 +26,7 @@ PRINTLN STRFMT("%d eol %", 1)
|
||||
PRINTLN STRFMT("invalid %w spec", 42)
|
||||
|
||||
PRINTLN STRFMT("one=%d two=%d three=%d", 1)
|
||||
|
||||
DEF NUL EQUS STRFMT("%s \0 %s", "goodbye", "world")
|
||||
ASSERT #NUL === "goodbye \0 world"
|
||||
PRINTLN #NUL
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user