aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_dummy_site_restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgamma_dummy_site_restore.c')
-rw-r--r--libgamma_dummy_site_restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgamma_dummy_site_restore.c b/libgamma_dummy_site_restore.c
index 0e8a7a5..97db77c 100644
--- a/libgamma_dummy_site_restore.c
+++ b/libgamma_dummy_site_restore.c
@@ -23,7 +23,7 @@ libgamma_dummy_site_restore(struct libgamma_site_state *restrict this)
for (j = 0; j < data->partition_count; j++)
for (i = 0; i < data->partitions[j].crtc_count; i++)
- if (libgamma_dummy_internal_crtc_restore_forced(data->partitions[j].crtcs + i) < 0)
+ if (libgamma_dummy_internal_crtc_restore_forced(data->partitions[j].crtcs + i))
return -1;
return 0;