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
This commit is contained in:
Myoungwoon Roy, Kim 2018-04-24 16:25:24 +09:00 committed by Jaehyun Cho
parent 4917910b49
commit 83f326009e
1 changed files with 1 additions and 0 deletions

View File

@ -848,6 +848,7 @@ evas_map_point_color_get(const Evas_Map *m, int idx, int *r, int *g, int *b, int
if (g) *g = p->g;
if (b) *b = p->b;
if (a) *a = p->a;
return;
error:
if (r) *r = 255;