Author: uqs Date: Sat May 14 19:03:30 2011 New Revision: 221907 URL: http://svn.freebsd.org/changeset/base/221907
Log: morse(6): fix typos and space-before-tabs Modified: head/games/morse/morse.c Modified: head/games/morse/morse.c ============================================================================== --- head/games/morse/morse.c Sat May 14 18:58:26 2011 (r221906) +++ head/games/morse/morse.c Sat May 14 19:03:30 2011 (r221907) @@ -161,20 +161,20 @@ static const struct morsetab iso8859_1ta static const struct morsetab iso8859_7tab[] = { /* - * The greek alphabet; you'll need an 8859-7 font in order + * The Greek alphabet; you'll need an ISO8859-7 font in order * to see the actual characters. * This table does not implement: * - the special sequences for the seven diphthongs, * - the punctuation differences. * Implementing these features would introduce too many * special-cases in the program's main loop. - * The diphtong sequences are: + * The diphthong sequences are: * alpha iota .-.- * alpha upsilon ..-- * epsilon upsilon ---. * eta upsilon ...- - * omikron iota ---.. - * omikron upsilon ..- + * omicron iota ---.. + * omicron upsilon ..- * upsilon iota .--- * The different punctuation symbols are: * ; ..-.- @@ -193,10 +193,10 @@ static const struct morsetab iso8859_7ta {'�', "-.-."}, /* theta */ {'�', ".."}, /* iota */ {'�', ".."}, /* iota with acute */ - {'�', ".."}, /* iota with diairesis */ - {'�', ".."}, /* iota with acute and diairesis */ + {'�', ".."}, /* iota with diaeresis */ + {'�', ".."}, /* iota with acute and diaeresis */ {'�', "-.-"}, /* kappa */ - {'�', ".-.."}, /* lamda */ + {'�', ".-.."}, /* lambda */ {'�', "--"}, /* mu */ {'�', "-."}, /* nu */ {'�', "-..-"}, /* xi */ @@ -209,8 +209,8 @@ static const struct morsetab iso8859_7ta {'�', "-"}, /* tau */ {'�', "-.--"}, /* upsilon */ {'�', "-.--"}, /* upsilon with acute */ - {'�', "-.--"}, /* upsilon and diairesis */ - {'�', "-.--"}, /* upsilon with acute and diairesis */ + {'�', "-.--"}, /* upsilon and diaeresis */ + {'�', "-.--"}, /* upsilon with acute and diaeresis */ {'�', "..-."}, /* phi */ {'�', "----"}, /* chi */ {'�', "--.-"}, /* psi */ @@ -222,29 +222,29 @@ static const struct morsetab iso8859_7ta static const struct morsetab koi8rtab[] = { /* - * the cyrillic alphabet; you'll need a KOI8R font in order + * The Cyrillic alphabet; you'll need a KOI8-R font in order * to see the actual characters */ - {'�', ".-"}, /* a */ + {'�', ".-"}, /* a */ {'�', "-..."}, /* be */ {'�', ".--"}, /* ve */ {'�', "--."}, /* ge */ {'�', "-.."}, /* de */ - {'�', "."}, /* ye */ - {'�', "."}, /* yo, the same as ye */ + {'�', "."}, /* ye */ + {'�', "."}, /* yo, the same as ye */ {'�', "...-"}, /* she */ {'�', "--.."}, /* ze */ - {'�', ".."}, /* i */ + {'�', ".."}, /* i */ {'�', ".---"}, /* i kratkoye */ {'�', "-.-"}, /* ka */ {'�', ".-.."}, /* el */ - {'�', "--"}, /* em */ - {'�', "-."}, /* en */ + {'�', "--"}, /* em */ + {'�', "-."}, /* en */ {'�', "---"}, /* o */ {'�', ".--."}, /* pe */ {'�', ".-."}, /* er */ {'�', "..."}, /* es */ - {'�', "-"}, /* te */ + {'�', "-"}, /* te */ {'�', "..-"}, /* u */ {'�', "..-."}, /* ef */ {'�', "...."}, /* kha */ @@ -305,9 +305,9 @@ main(int argc, char **argv) while ((ch = getopt(argc, argv, GETOPTOPTS)) != -1) switch ((char) ch) { - case 'c': - cpm = atoi(optarg); - break; + case 'c': + cpm = atoi(optarg); + break; case 'd': device = optarg; break; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"