princeamd pushed a commit to branch ecore-1.7.

commit 095eca160ffdabc6c44c31755dbc3d0dc1624b51
Author: Christopher Michael <[email protected]>
Date:   Fri Feb 1 11:50:59 2013 +0000

    Backport: e6be429 :: Length is optional here when getting edid from output.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 83554
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/lib/ecore_x/xlib/ecore_x_randr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/ecore_x/xlib/ecore_x_randr.c 
b/src/lib/ecore_x/xlib/ecore_x_randr.c
index 0733831..91ec935 100644
--- a/src/lib/ecore_x/xlib/ecore_x_randr.c
+++ b/src/lib/ecore_x/xlib/ecore_x_randr.c
@@ -2527,8 +2527,6 @@ ecore_x_randr_output_edid_get(Ecore_X_Window root 
EINA_UNUSED, Ecore_X_Randr_Out
 
    if (_randr_version < RANDR_VERSION_1_2) return NULL;
 
-   if (!length) return NULL;
-
    /* try to get the edid atom */
    if (!(edid = XInternAtom(_ecore_x_disp, RR_PROPERTY_RANDR_EDID, True))) 
      return NULL;

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to