forked from enlightenment/efl
Ecore_X: Actually, we can still retrieve crtcs without returning Count
of them. Fix (very very minor, imo not worthy of a changelog entry). SVN revision: 76400
This commit is contained in:
parent
bbde32900c
commit
32c68acf3c
|
@ -527,7 +527,7 @@ ecore_x_randr_crtcs_get(Ecore_X_Window root,
|
|||
XRRScreenResources *res = NULL;
|
||||
Ecore_X_Randr_Crtc *ret = NULL;
|
||||
|
||||
if (num && root &&
|
||||
if (root &&
|
||||
(res = _ecore_x_randr_get_screen_resources (_ecore_x_disp, root)))
|
||||
{
|
||||
if ((ret = malloc(sizeof(Ecore_X_Randr_Crtc) * res->ncrtc)))
|
||||
|
|
Loading…
Reference in New Issue