stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=56fe7e4e5b6879541fd3109ca2f99bfcde2b6388

commit 56fe7e4e5b6879541fd3109ca2f99bfcde2b6388
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Fri Nov 15 15:55:45 2013 +0100

    conf_randr: Compare mode against correct smart data.
    
    This copy and paste bug compared the sd mode against the parent sd mode.
    Classical c&p bug when having two blocks of code so similar.
    
    CID: 1039954
---
 src/modules/conf_randr/e_smart_monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/conf_randr/e_smart_monitor.c 
b/src/modules/conf_randr/e_smart_monitor.c
index 977608b..4ab07ee 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -734,7 +734,7 @@ e_smart_monitor_clone_set(Evas_Object *obj, Evas_Object 
*parent)
    else
      psd->changes &= ~(E_SMART_MONITOR_CHANGED_POSITION);
 
-   if (psd->crtc.mode != sd->current.mode)
+   if (psd->crtc.mode != psd->current.mode)
      psd->changes |= E_SMART_MONITOR_CHANGED_MODE;
    else
      psd->changes &= ~(E_SMART_MONITOR_CHANGED_MODE);

-- 


Reply via email to