pidgin/pidgindebug.c

changeset 39162
e84a120599f7
parent 39161
a0a1ca466179
child 39163
c38b26076992
--- a/pidgin/pidgindebug.c	Wed Jun 13 17:52:43 2018 -0400
+++ b/pidgin/pidgindebug.c	Wed Jun 13 17:53:20 2018 -0400
@@ -209,6 +209,9 @@
 	GtkTextIter match_start, match_end;
 	gchar *text;
 
+	if (!win->regex)
+		return;
+
 	initial_position = gtk_text_iter_get_offset(start);
 
 	if (!win->invert) {

mercurial