Revision 3306 src/textview.c

View differences:

textview.c
2301 2301
			ac = account_find_from_item(msginfo->folder);
2302 2302
		if (ac && ac->protocol == A_NNTP)
2303 2303
			ac = NULL;
2304
		compose_new(ac, msginfo->folder, uri->uri + 7, NULL);
2304
		compose_new(ac, msginfo ? msginfo->folder : NULL,
2305
			    uri->uri + 7, NULL);
2305 2306
	} else if (uri->uri[0] == '#') {
2306 2307
		/* don't open in-page link */
2307 2308
	} else if (textview_uri_security_check(textview, uri) == TRUE)
......
2540 2541
			ac = account_find_from_item(msginfo->folder);
2541 2542
		if (ac && ac->protocol == A_NNTP)
2542 2543
			ac = NULL;
2543
		compose_new(ac, msginfo->folder, uri->uri + 7, NULL);
2544
		compose_new(ac, msginfo ? msginfo->folder : NULL,
2545
			    uri->uri + 7, NULL);
2544 2546
	} else if (uri->uri[0] == '#') {
2545 2547
		/* don't open in-page link */
2546 2548
	} else if (textview_uri_security_check(textview, uri) == TRUE)

Also available in: Unified diff