discomfitor pushed a commit to branch master.

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

commit a597b53f4c3e8f479403c6bb10061a075c950147
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 1 16:08:21 2015 -0400

    fix e_scale wayland conditional defines
---
 src/bin/e_scale.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_scale.c b/src/bin/e_scale.c
index 468d313..9c13dec 100644
--- a/src/bin/e_scale.c
+++ b/src/bin/e_scale.c
@@ -25,7 +25,8 @@ e_scale_update(void)
 #ifndef HAVE_WAYLAND_ONLY
         if (e_comp->comp_type == E_PIXMAP_TYPE_X)
           e_scale = (double)ecore_x_dpi_get() / 
(double)e_config->scale.base_dpi;
-#else
+#endif
+#ifdef HAVE_WAYLAND
         if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
           e_scale = (double)ecore_wl_dpi_get() / 
(double)e_config->scale.base_dpi;
 #endif

-- 


Reply via email to