[Commits] [SCM] claws branch, master, updated. 3.15.0-153-g51805d8
ticho at claws-mail.org
ticho at claws-mail.org
Wed Oct 25 20:42:30 CEST 2017
The branch, master has been updated
via 51805d8ae9393a1639e504893a39a8d93a1b3a32 (commit)
from d45cc6e3ba85a5de365215d89cbde4498d917cef (commit)
Summary of changes:
src/prefs_folder_item.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 51805d8ae9393a1639e504893a39a8d93a1b3a32
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Wed Oct 25 20:40:41 2017 +0200
Fix missing invalid regexp indication in folder preferences.
The entry is supposed to turn red, but it couldn't
because of a logic error.
diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c
index 5608715..20f96f4 100644
--- a/src/prefs_folder_item.c
+++ b/src/prefs_folder_item.c
@@ -1764,9 +1764,10 @@ static void folder_regexp_test_cb(GtkWidget *widget, gpointer data)
if (!colors_initialised) {
if (!gdk_color_parse("#ff7070", &red)) {
g_warning("color parse failed: red");
- colors_initialised = gdk_colormap_alloc_color(
- gdk_colormap_get_system(), &red, FALSE, TRUE);
+ return;
}
+ colors_initialised = gdk_colormap_alloc_color(
+ gdk_colormap_get_system(), &red, FALSE, TRUE);
}
#endif
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list