src/gtkspell.c

changeset 1467
6dd0f7f6e93d
parent 1415
e851476edab1
child 1496
d8bc156b68fc
--- 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;
 }
 

mercurial