[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-372-g70bd527aa

jonathan at claws-mail.org jonathan at claws-mail.org
Mon Nov 29 08:27:02 CET 2021


The branch, gtk3 has been updated
       via  70bd527aa964239eab5a4b22d3015094867ed392 (commit)
      from  9d279a86c02650b8fd45e096514f1c3c36df5e3f (commit)

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


- Log -----------------------------------------------------------------
commit 70bd527aa964239eab5a4b22d3015094867ed392
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 e10cdd3be..fce357b11 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -5109,7 +5109,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