summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
index 4a4098a..3be89ac 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
@@ -637,7 +637,7 @@ ecore_x_randr_outputs_get(Ecore_X_Window root,
637 XRRScreenResources *res = NULL; 637 XRRScreenResources *res = NULL;
638 Ecore_X_Randr_Output *ret = NULL; 638 Ecore_X_Randr_Output *ret = NULL;
639 639
640 if (num && root && 640 if (root &&
641 (res = _ecore_x_randr_get_screen_resources(_ecore_x_disp, root))) 641 (res = _ecore_x_randr_get_screen_resources(_ecore_x_disp, root)))
642 { 642 {
643 if ((ret = malloc(sizeof(Ecore_X_Randr_Output) * res->noutput))) 643 if ((ret = malloc(sizeof(Ecore_X_Randr_Output) * res->noutput)))