diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-01-06 19:32:34 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-01-06 19:32:34 +0000 |
commit | b83500663584cec5ddef38fec84115acc6b58955 (patch) | |
tree | dc1dea515bf2833925f6f6fc248d6d0953ebe7a1 /sys/src/libc | |
parent | c38c964ed92a6ee9e40d2b8fcfc95923b16280e8 (diff) |
libc: coding style (from drawterm)
Diffstat (limited to 'sys/src/libc')
-rw-r--r-- | sys/src/libc/port/strtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libc/port/strtod.c b/sys/src/libc/port/strtod.c index 9ea252856..c8756d90f 100644 --- a/sys/src/libc/port/strtod.c +++ b/sys/src/libc/port/strtod.c @@ -509,7 +509,7 @@ xcmp(char *a, char *b) { int c1, c2; - while(c1 = *b++) { + while((c1 = *b++) != 0) { c2 = *a++; if(isupper(c2)) c2 = tolower(c2); |