sbcl 2.1.11 rebuild
[arch-packages.git] / claws-mail / trunk / 0002_Fancy_crashes_when_opening_an_email.diff
bloba12c86a708afdf66b52070c163fcc3cd08e9f57b
1 From: paul <paul@claws-mail.org>
2 Date: Mon, 12 Jul 2021 09:20:21 +0000 (+0100)
3 Subject: fix bug 4496 'Fancy crashes when opening an email'
4 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=f459d1c27426a10af90f8ef73aef78ec846ebffb;hp=9c2585c58b49815a0eab8d683f0a94f75cbbe64e
6 fix bug 4496 'Fancy crashes when opening an email'
8 Patch by Jonathan Boeing
9 ---
11 diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
12 index 6ff5f1244..d57d33aa7 100644
13 --- a/src/plugins/fancy/fancy_viewer.c
14 +++ b/src/plugins/fancy/fancy_viewer.c
15 @@ -96,7 +96,7 @@ static void fancy_apply_prefs(FancyViewer *viewer)
16 #endif
17 NULL);
18 if (fancy_prefs.stylesheet == NULL || strlen(fancy_prefs.stylesheet) == 0) {
19 - gchar **msg_font_params = g_strsplit(prefs_common.textfont, " ", 0);
20 + gchar **msg_font_params = g_strsplit(prefs_common_get_prefs()->textfont, " ", 0);
21 guint params_len = g_strv_length(msg_font_params);
23 if (params_len > 0) {