Mercurial > pidgin
diff src/gtkspell.c @ 1467:7f7857c5036e
[gaim-migrate @ 1477]
updates to icqlib and gtkspell. also added catch case for when BYTE_ORDER wasn't defined.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 04 Feb 2001 07:34:46 +0000 |
| parents | 3dfd2a83fb5e |
| children | d33bf6548543 |
line wrap: on
line diff
--- a/src/gtkspell.c Sat Feb 03 13:30:57 2001 +0000 +++ b/src/gtkspell.c Sun Feb 04 07:34:46 2001 +0000 @@ -243,6 +243,7 @@ return l; case '#': /* misspelled, no suggestions */ + case '?': /* ispell is guessing. */ /* # <orig> <ofs> */ strtok(buf, " "); /* & */ newword = strtok(NULL, " "); /* orig */ @@ -251,6 +252,8 @@ default: error_print("Unsupported spell command '%c'.\n" "This is a bug; mail " BUGEMAIL " about it.\n", buf[0]); + error_print("Input [%s]\nOutput [%s]\n", word, buf); + } return NULL; } @@ -263,12 +266,13 @@ if (buf[0] == 0) { return 0; - } else if (buf[0] == '&' || buf[0] == '#') { + } else if (buf[0] == '&' || buf[0] == '#' || buf[0] == '?') { return 1; } error_print("Unsupported spell command '%c'.\n" "This is a bug; mail " BUGEMAIL " about it.\n", buf[0]); + error_print("Input [%s]\nOutput [%s]\n", word, buf); return -1; }
