mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-26 22:05:38 +00:00
1 parent
f13413c26a
commit
277732e384
1 file changed
+1
-1
+1
-1
@@ -1951,7 +1951,7 @@ gtk_xtext_get_word (GtkXText * xtext, int x, int y, textentry ** ret_ent,
|
||||
word = gtk_xtext_strip_color (word, len, xtext->scratch_buffer, NULL, NULL, slp, FALSE);
|
||||
|
||||
/* avoid turning the cursor into a hand for non-url part of the word */
|
||||
if (xtext->urlcheck_function (GTK_WIDGET (xtext), word))
|
||||
if (xtext->urlcheck_function && xtext->urlcheck_function (GTK_WIDGET (xtext), word))
|
||||
{
|
||||
int start, end;
|
||||
url_last (&start, &end);
|
||||
|
||||
Reference in new issue
Block a user