My own rewrite of the BSD morse code recreational utility
Revision | 24dde173fd70d7e080f96c3510248068e2889ae6 (tree) |
---|---|
Zeit | 2021-08-30 01:58:03 |
Autor | Joel Matthew Rees <joel.rees@gmai...> |
Commiter | Joel Matthew Rees |
monday morning 2am keyboard miss
@@ -208,9 +208,10 @@ decode(s) | ||
208 | 208 | { |
209 | 209 | int i; |
210 | 210 | |
211 | -/* JMR20210830: give it a way to dodge the getop dash madness: */ | |
212 | - if (*s == ' ') | |
213 | - ++s; | |
211 | +/* JMR20210830 give it a way to dodge the getopt dash madness: */ | |
212 | + if (*s == ' ') | |
213 | + ++s; | |
214 | +/* JMR20210830 end. */ | |
214 | 215 | for (i = 0; i < 10; i++) |
215 | 216 | if (strcmp(digit[i], s) == 0) { |
216 | 217 | putchar('0' + i); |