Correct nick recognition in mainurl.c as well. Closes #372.
This commit is contained in:
parent
487ac0a011
commit
6c7346cdbe
|
@ -2311,7 +2311,9 @@ mg_word_clicked (GtkWidget *xtext, char *word, GdkEventButton *even)
|
||||||
menu_urlmenu (even, word);
|
menu_urlmenu (even, word);
|
||||||
break;
|
break;
|
||||||
case WORD_NICK:
|
case WORD_NICK:
|
||||||
menu_nickmenu (sess, even, word + (ispunct (*word)? 1: 0), FALSE);
|
word[end] = 0;
|
||||||
|
word += start;
|
||||||
|
menu_nickmenu (sess, even, word, FALSE);
|
||||||
break;
|
break;
|
||||||
case WORD_CHANNEL:
|
case WORD_CHANNEL:
|
||||||
menu_chanmenu (sess, even, word);
|
menu_chanmenu (sess, even, word);
|
||||||
|
|
Loading…
Reference in New Issue