[EGIT] [core/enlightenment] master 02/03: conf_randr: Compare mode against correct smart data.

2013-11-15 Thread Stefan Schmidt
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 cp 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);

-- 




Re: [E-devel] [EGIT] [core/enlightenment] master 02/03: conf_randr: Compare mode against correct smart data.

2013-11-15 Thread Chris Michael
Doh, damn fat-finger copy/paste ;)

Thanks Stefan ! :)

Cheers,
dh

On 11/15/13 15:39, Stefan Schmidt wrote:
 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 cp 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);



--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel