summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2014-09-29 19:02:18 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2014-09-29 19:07:00 +0900
commit5c3c137b80cbc47c32208fb651f22fa71f8634ed (patch)
tree8f0cd670ec971c8091ef006892f0f877816e98c6
parent3c25b810c0d014e5ad304214756a35757da9af9e (diff)
scale: change the floating number comparison method.
-rw-r--r--src/lib/elm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index 86ea7c7c8..646969393 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -462,7 +462,7 @@ EAPI void
462elm_app_base_scale_set(double base_scale) 462elm_app_base_scale_set(double base_scale)
463{ 463{
464 if (base_scale < 0.0) return; 464 if (base_scale < 0.0) return;
465 if ((int)(base_scale * 10000) == 0) return; 465 if (fabs(base_scale) < DBL_EPSILON) return;
466 app_base_scale = base_scale; 466 app_base_scale = base_scale;
467} 467}
468 468