[file-roller/wip/jtojnar/engrampa-backports: 2/4] Use logic operator instead of bitwise
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/jtojnar/engrampa-backports: 2/4] Use logic operator instead of bitwise
- Date: Tue, 26 Jul 2022 15:41:46 +0000 (UTC)
commit 75ab3ecca1703792338cee1579248c5bd4f24b89
Author: Jan Tojnar <jtojnar gmail com>
Date: Tue Jul 26 16:45:39 2022 +0200
Use logic operator instead of bitwise
Based on https://github.com/mate-desktop/engrampa/commit/32c66f997b730f8e4ff6f2b4830f259951ec1112
Co-Authored-By: Monsta <monsta inbox ru>
src/fr-application.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/fr-application.c b/src/fr-application.c
index 98ffe335..8649b9a5 100644
--- a/src/fr-application.c
+++ b/src/fr-application.c
@@ -303,7 +303,7 @@ handle_method_call (GDBusConnection *connection,
window = fr_window_new ();
fr_window_use_progress_dialog (FR_WINDOW (window), use_progress_dialog);
- if ((destination_uri != NULL) & (strcmp (destination_uri, "") != 0)) {
+ if ((destination_uri != NULL) && (strcmp (destination_uri, "") != 0)) {
GFile *file;
file = g_file_new_for_uri (destination_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]