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:
Christopher Michael 2012-09-10 12:28:17 +00:00
parent bbde32900c
commit 32c68acf3c
1 changed files with 1 additions and 1 deletions

View File

@ -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)))