summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMyoungwoon Roy, Kim <myoungwoon.kim@samsung.com>2018-04-24 16:25:24 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-04-24 16:25:24 +0900
commit83f326009e3b87c9532edf5c8f0aa9fe03a6c9e9 (patch)
tree38f941e0f84c6aef2e01e8cbab6c5edd2a6963fa /src
parent4917910b4911905236fa099bbc16b833b056ca07 (diff)
evas_map: Fix a bug about wrong map point colors
Summary: evas_map_point_color_get returns wrong rgbs values always because of error label. Test Plan: Execute test suite Reviewers: raster, Hermet, cedric, jpeg, stefan_schmidt, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5983
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index e05ad97323..e633ccd883 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -848,6 +848,7 @@ evas_map_point_color_get(const Evas_Map *m, int idx, int *r, int *g, int *b, int
848 if (g) *g = p->g; 848 if (g) *g = p->g;
849 if (b) *b = p->b; 849 if (b) *b = p->b;
850 if (a) *a = p->a; 850 if (a) *a = p->a;
851 return;
851 852
852error: 853error:
853 if (r) *r = 255; 854 if (r) *r = 255;