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

P.9: Fix typo in code example
pull/795/head
Gabriel Dos Reis 9 years ago committed by GitHub
commit 09d76d93fc

@ -943,7 +943,7 @@ There are several more performance bugs and gratuitous complication.
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.

Loading…
Cancel
Save