puzzles: fix typo

Change-Id: I6b8c18472749248508d4e5b1595b8903e687f67c
This commit is contained in:
Franklin Wei 2018-03-18 13:07:39 -04:00
parent 77641d59a7
commit 9006e75cde

View file

@ -114,7 +114,7 @@ int main()
--i; --i;
break; break;
case '$': case '$':
/* genhelp.sh replaces the dollar signs in URLs with /* genhelp.sh replaces the underscores in URLs with
* dollar signs to help us out. */ * dollar signs to help us out. */
buf[i] = '_'; buf[i] = '_';
break; break;
@ -137,9 +137,7 @@ int main()
int words_check = 0; int words_check = 0;
for(int i = 0; i < help_text_len; ++i) for(int i = 0; i < help_text_len; ++i)
if(!buf[i]) if(!buf[i])
{
++words_check; ++words_check;
}
assert(words_check == word_idx); assert(words_check == word_idx);