[Commits] [SCM] claws branch, master, updated. 3.18.0-313-gea8e47385

jonathan at claws-mail.org jonathan at claws-mail.org
Fri Dec 31 19:17:20 UTC 2021


The branch, master has been updated
       via  ea8e47385c01a0b900c6c6e0e5d7ee93c9d06236 (commit)
      from  c8f34c6fc5fc080f0cb26ccc4f45bbfc0d331d69 (commit)

Summary of changes:
 src/prefs_account.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit ea8e47385c01a0b900c6c6e0e5d7ee93c9d06236
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sat Nov 20 02:13:53 2021 -0700

    Fix clang -Wlogical-not-parentheses warning

diff --git a/src/prefs_account.c b/src/prefs_account.c
index 86c32d6f9..172371490 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -5151,7 +5151,7 @@ static void prefs_account_oauth2_copy_url(GtkButton *button, gpointer data)
 	gtk_clipboard_set_text (clip, url, len);
 	gtk_clipboard_set_text (clip2, url, len);
 
-	if (!strcmp(gtk_button_get_label(button), "Copy link") == 0)
+	if (strcmp(gtk_button_get_label(button), "Copy link") != 0)
 		open_uri(url, prefs_common_get_uri_cmd());
 
 	g_free(url);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list