Added a zero byte at the end of strings

This commit is contained in:
2025-02-09 15:37:00 +01:00
parent b1228be79a
commit 064bb3acc7
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
main() {
text := "Hi!\0"
user32.MessageBoxA(0, text, text, 0x240040)
title := "Title."
text := "Hi!"
user32.MessageBoxA(0, text, title, 0x240040)
}