summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-03-18 13:07:39 -0400
committerFranklin Wei <git@fwei.tk>2018-03-18 13:07:39 -0400
commit9006e75cde6ad92fd542715ba9013e01a13bbe8d (patch)
tree55ad4c148bb2698710e6ecf34f158edc74386b1b
parent77641d59a7ece60554da6cc1337d885786e5fc3f (diff)
downloadrockbox-9006e75cde6ad92fd542715ba9013e01a13bbe8d.tar.gz
rockbox-9006e75cde6ad92fd542715ba9013e01a13bbe8d.zip
puzzles: fix typo
Change-Id: I6b8c18472749248508d4e5b1595b8903e687f67c
-rw-r--r--apps/plugins/puzzles/compress.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/puzzles/compress.c b/apps/plugins/puzzles/compress.c
index 04df077e53..0e52c4b659 100644
--- a/apps/plugins/puzzles/compress.c
+++ b/apps/plugins/puzzles/compress.c
@@ -114,7 +114,7 @@ int main()
114 --i; 114 --i;
115 break; 115 break;
116 case '$': 116 case '$':
117 /* genhelp.sh replaces the dollar signs in URLs with 117 /* genhelp.sh replaces the underscores in URLs with
118 * dollar signs to help us out. */ 118 * dollar signs to help us out. */
119 buf[i] = '_'; 119 buf[i] = '_';
120 break; 120 break;
@@ -137,9 +137,7 @@ int main()
137 int words_check = 0; 137 int words_check = 0;
138 for(int i = 0; i < help_text_len; ++i) 138 for(int i = 0; i < help_text_len; ++i)
139 if(!buf[i]) 139 if(!buf[i])
140 {
141 ++words_check; 140 ++words_check;
142 }
143 141
144 assert(words_check == word_idx); 142 assert(words_check == word_idx);
145 143