Revision 716 src/textview.c

textview.c (revision 716)
456 456
		charset = prefs_common.force_charset;
457 457
	else if (mimeinfo->charset)
458 458
		charset = mimeinfo->charset;
459
	else if (prefs_common.fallback_encoding)
460
		charset = prefs_common.fallback_encoding;
459
	else if (prefs_common.default_encoding)
460
		charset = prefs_common.default_encoding;
461 461

  
462 462
	textview_set_font(textview, charset);
463 463
	textview_clear(textview);
......
514 514
		charset = prefs_common.force_charset;
515 515
	else if (mimeinfo->charset)
516 516
		charset = mimeinfo->charset;
517
	else if (prefs_common.fallback_encoding)
518
		charset = prefs_common.fallback_encoding;
517
	else if (prefs_common.default_encoding)
518
		charset = prefs_common.default_encoding;
519 519

  
520 520
	if (!boundary && mimeinfo->mime_type == MIME_TEXT) {
521 521
		if (fseek(fp, mimeinfo->fpos, SEEK_SET) < 0)
......
625 625
		charset = prefs_common.force_charset;
626 626
	else if (mimeinfo->charset)
627 627
		charset = mimeinfo->charset;
628
	else if (prefs_common.fallback_encoding)
629
		charset = prefs_common.fallback_encoding;
628
	else if (prefs_common.default_encoding)
629
		charset = prefs_common.default_encoding;
630 630

  
631 631
	if (mimeinfo->mime_type == MIME_MESSAGE_RFC822) {
632 632
		headers = textview_scan_header(textview, fp, charset);

Also available in: Unified diff