P.9: Fix typo in code example

This commit is contained in:
Severin Meyer
2016-11-15 16:00:56 +01:00
parent 58abafebe6
commit c3ee965a28

View File

@@ -943,7 +943,7 @@ There are several more performance bugs and gratuitous complication.
void lower(zstring s) void lower(zstring s)
{ {
for (int i = 0; i < strlen(s); ++s) s[i] = tolower(s[i]); for (int i = 0; i < strlen(s); ++i) s[i] = tolower(s[i]);
} }
Yes, this is an example from production code. Yes, this is an example from production code.