1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 18:16:35 +00:00

Don't used str2word as scrstr2word when the string terminator matches, but digits don't

This commit is contained in:
Karol Stasiak
2020-03-31 17:58:46 +02:00
parent be21c34dc4
commit 742fc50ccc
3 changed files with 21 additions and 1 deletions
+8 -1
View File
@@ -6,7 +6,6 @@ alias scrstrzcmp = strzcmp
alias scrstrzcopy = strzcopy
alias scrstrzpaste = strzpaste
alias scrstrzappendchar = strzappendchar
alias scrstrz2word = strz2word
alias scrstrzappend = strzappend
@@ -27,6 +26,14 @@ void scrstrzappendchar(pointer buffer, byte char) {
buffer[1] = nullchar_scr
}
#endif
#if DECIMALS_SAME
alias scrstrz2word = strz2word
#else
word scrstrz2word(pointer str) {
byte i
byte char