Fix compile: Use the proper smart data variable.
authorChristopher Michael <cp.michael@samsung.com>
Mon, 7 Jan 2013 07:39:52 +0000 (07:39 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 7 Jan 2013 07:39:52 +0000 (07:39 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 82328

src/modules/conf_randr/e_smart_monitor.c

index 77bb56b..da1814e 100644 (file)
@@ -638,15 +638,15 @@ e_smart_monitor_clone_add(Evas_Object *obj, Evas_Object *mon)
    msd->current.cloned = EINA_TRUE;
 
    /* set appropriate changes */
-   if (sd->orig.cloned != sd->current.cloned)
+   if (msd->orig.cloned != msd->current.cloned)
      {
-        sd->changes |= E_SMART_MONITOR_CHANGED_CLONED;
-        sd->changes |= E_SMART_MONITOR_CHANGED_POSITION;
+        msd->changes |= E_SMART_MONITOR_CHANGED_CLONED;
+        msd->changes |= E_SMART_MONITOR_CHANGED_POSITION;
      }
    else
      {
-        sd->changes &= ~(E_SMART_MONITOR_CHANGED_CLONED);
-        sd->changes &= ~(E_SMART_MONITOR_CHANGED_POSITION);
+        msd->changes &= ~(E_SMART_MONITOR_CHANGED_CLONED);
+        msd->changes &= ~(E_SMART_MONITOR_CHANGED_POSITION);
      }
 
    /* set cloned parent */