[eog] EogWindow: Convert bitwise operation into proper boolean logic
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogWindow: Convert bitwise operation into proper boolean logic
- Date: Sun, 22 Nov 2020 16:00:52 +0000 (UTC)
commit 574af539b74c97460f2b12fc39e4b5d37954c95f
Author: Felix Riemann <friemann gnome org>
Date: Sun Nov 22 16:51:23 2020 +0100
EogWindow: Convert bitwise operation into proper boolean logic
The result was the same though.
src/eog-window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index aada655e..65ed41a8 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -2418,7 +2418,7 @@ eog_window_unsaved_images_confirm (EogWindow *window)
EOG_CONF_UI_DISABLE_CLOSE_CONFIRMATION);
disabled |= window->priv->save_disabled;
- if (disabled | !priv->store) {
+ if (disabled || !priv->store) {
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]