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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user