changeset 3733:871bdebc3037

[gaim-migrate @ 3871] Yes, silvestrij, I can. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 17 Oct 2002 22:59:53 +0000
parents 6767b4b1ce31
children 9497635473f2
files plugins/spellchk.c src/prpl.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/spellchk.c	Thu Oct 17 22:47:23 2002 +0000
+++ b/plugins/spellchk.c	Thu Oct 17 22:59:53 2002 +0000
@@ -200,7 +200,7 @@
 }
 
 static char *have_word(char *m, int pos) {
-	char *tmp = strpbrk(&m[pos], "' \t\f\r\n\"><.?!-,");
+	char *tmp = strpbrk(&m[pos], "' \t\f\r\n\"><.?!-,/");
 	int len = (int)(tmp - &m[pos]);
 
 	if (tmp == NULL) {
--- a/src/prpl.c	Thu Oct 17 22:47:23 2002 +0000
+++ b/src/prpl.c	Thu Oct 17 22:59:53 2002 +0000
@@ -158,6 +158,7 @@
 			break;
 		}
 	g_free(doask);
+	gtk_widget_destroy(d);
 }
 
 
@@ -178,7 +179,7 @@
 	g_free(filename);
 	gtk_misc_set_alignment(GTK_MISC(img), 0, 0);
 
-	window = gtk_dialog_new_with_buttons("", NULL, GTK_DIALOG_MODAL, yestext, GTK_RESPONSE_YES, notext, GTK_RESPONSE_NO, NULL);
+	window = gtk_dialog_new_with_buttons("", NULL, GTK_DIALOG_MODAL, notext, GTK_RESPONSE_NO, yestext, GTK_RESPONSE_YES, NULL);
 	gtk_dialog_set_default_response (GTK_DIALOG(window), GTK_RESPONSE_YES);
 	g_signal_connect(G_OBJECT(window), "response", G_CALLBACK(do_ask_callback), doask);