princeamd pushed a commit to branch enlightenment-0.17.
commit 733f98fbbf8846c8590502506b3a38d10da0b920
Author: Christopher Michael <[email protected]>
Date: Tue Feb 19 10:57:18 2013 +0000
Backport: 9354ef6 :: Set aspect width & height on the same line
(pedantic commit just to remove 2 extra lines).
Signed-off-by: Christopher Michael <[email protected]>
SVN revision: 84161
Signed-off-by: Deon Thomas <[email protected]>
---
src/modules/conf_randr/e_smart_monitor.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/modules/conf_randr/e_smart_monitor.c
b/src/modules/conf_randr/e_smart_monitor.c
index 3e932a2..432ffbb 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -155,10 +155,8 @@ e_smart_monitor_output_set(Evas_Object *obj,
Ecore_X_Randr_Output output)
/* get the largest mode */
mode = eina_list_last_data_get(sd->modes);
- mw = mode->width;
- mh = mode->height;
- aw = mw;
- ah = mh;
+ aw = mw = mode->width;
+ ah = mh = mode->height;
sd->max.mode_width = mw;
sd->max.mode_height = mh;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev