talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 70bd527aa964239eab5a4b22d3015094867ed392
parent 9d279a86c02650b8fd45e096514f1c3c36df5e3f
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Sat, 20 Nov 2021 02:13:53 -0700

Fix clang -Wlogical-not-parentheses warning

Diffstat:
Msrc/prefs_account.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);