mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-11-22 11:32:10 +00:00
emitString: comparison between pointer and integer
This commit is contained in:
parent
deb5d06fba
commit
29f102cdf1
@ -329,7 +329,7 @@ emitString(stringType *string)
|
||||
nuls in strings, so to speak. We assume that the character 0xFF is not
|
||||
likely to be needed since ASCII (and ATASCII) is a seven bit character
|
||||
code. */
|
||||
while (*string != NULL)
|
||||
while (*string != 0)
|
||||
if ((*string & 0xFF) == 0xFF) {
|
||||
emitByte('\0');
|
||||
string++;
|
||||
|
Loading…
Reference in New Issue
Block a user