diff options
author | Christopher Michael <cpmichael1@comcast.net> | 2012-08-30 10:31:41 +0000 |
---|---|---|
committer | Christopher Michael <cpmichael1@comcast.net> | 2012-08-30 10:31:41 +0000 |
commit | d021536d2bc6634119bb8ac9b9ca9b58345b7230 (patch) | |
tree | e2301290ffb6fa7cf279c2aadf70cbc58a163564 /legacy/ecore/src/lib | |
parent | eb8665bfd415d13fb42fc681a9da0603a1427a3d (diff) |
Ecore_X: We can still get output resources even if 'num' is not passed
in.
SVN revision: 75868
Diffstat (limited to 'legacy/ecore/src/lib')
-rw-r--r-- | legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c | 2 |
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))) |