summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c b/src/shell.c
index 4fbd8d5..8a21ed8 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1134,8 +1134,8 @@ insert_black_curtain(struct ivi_output *output)
if ((!output &&
!output->fullscreen_view.fs &&
- !output->fullscreen_view.fs->view) || !output->output ||
- !output->fullscreen_view.fs) {
+ !output->fullscreen_view.fs->view) ||
+ !output->output || !output->fullscreen_view.fs) {
weston_log("Output %s doesn't have a surface installed!\n", output->name);
return;
}