Merge pull request #791 from severinmeyer/P.9-Typo

P.9: Fix typo in code example
This commit is contained in:
Gabriel Dos Reis
2016-11-15 07:57:54 -08:00
committed by GitHub

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.