hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=6428fd4ede06400d53cbaa2d82f27fd6ef07f158
commit 6428fd4ede06400d53cbaa2d82f27fd6ef07f158 Author: Hermet Park <[email protected]> Date: Sat Mar 5 11:40:18 2016 +0900 remove compile warnings. insert brackets to declare structure initial values clearly. --- src/lib/ctxpopup.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/ctxpopup.c b/src/lib/ctxpopup.c index 9d3b160..5c7469f 100644 --- a/src/lib/ctxpopup.c +++ b/src/lib/ctxpopup.c @@ -43,16 +43,16 @@ typedef struct preset_colors_data_s static rgba_value preset_cur_color; static preset_colors_data preset_colors = - { 0, - 255, 0, 0, 255, - 0, 255, 0, 255, - 0, 0, 255, 255, - 255, 255, 0, 255, - 255, 0, 255, 255, - 0, 255, 255, 255, - 0, 0, 0, 255, - 255, 255, 255, 255, - 128, 128, 128, 255}; + { EINA_FALSE, + {{255, 0, 0, 255}, + {0, 255, 0, 255}, + {0, 0, 255, 255}, + {255, 255, 0, 255}, + {255, 0, 255, 255}, + {0, 255, 255, 255}, + {0, 0, 0, 255}, + {255, 255, 255, 255}, + {128, 128, 128, 255}}}; /*****************************************************************************/ /* Internal method implementation */ --
