Revision 333 src/mimeview.c

mimeview.c (revision 333)
783 783
	default:
784 784
		mimeview_change_view_type(mimeview, MIMEVIEW_TEXT);
785 785
#if USE_GPGME
786
		if (g_strcasecmp(partinfo->content_type,
787
				 "application/pgp-signature") == 0)
786
		if (g_ascii_strcasecmp(partinfo->content_type,
787
				       "application/pgp-signature") == 0)
788 788
			mimeview_show_signature_part(mimeview, partinfo);
789 789
		else
790 790
#endif
......
1169 1169
	partinfo = mimeview_get_selected_part(mimeview);
1170 1170
	if (!partinfo) return;
1171 1171

  
1172
	if (g_strcasecmp(partinfo->content_type,
1173
			 "application/pgp-signature") == 0) {
1172
	if (g_ascii_strcasecmp(partinfo->content_type,
1173
			       "application/pgp-signature") == 0) {
1174 1174
		mimeview_change_view_type(mimeview, MIMEVIEW_TEXT);
1175 1175
		mimeview_show_signature_part(mimeview, partinfo);
1176 1176
	}

Also available in: Unified diff