talons

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

commit ea8e47385c01a0b900c6c6e0e5d7ee93c9d06236
parent c8f34c6fc5fc080f0cb26ccc4f45bbfc0d331d69
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 @@ -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);