mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-11-26 07:49:14 +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
|
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
|
likely to be needed since ASCII (and ATASCII) is a seven bit character
|
||||||
code. */
|
code. */
|
||||||
while (*string != NULL)
|
while (*string != 0)
|
||||||
if ((*string & 0xFF) == 0xFF) {
|
if ((*string & 0xFF) == 0xFF) {
|
||||||
emitByte('\0');
|
emitByte('\0');
|
||||||
string++;
|
string++;
|
||||||
|
Loading…
Reference in New Issue
Block a user