mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-13 13:21:42 +00:00
Truncate long format spec strings before using them (#1299)
Fixes #1293
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DEF n EQU 42
|
||||
; the format spec is truncated to "000...009", omitting the "x", so this prints "000000042" not "00000002a"
|
||||
PRINTLN "{000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009x:n}"
|
||||
Reference in New Issue
Block a user