From 8fa0d0059baa95641e51e53dc5f5187311be9b44 Mon Sep 17 00:00:00 2001 From: Woochan Lee Date: Tue, 22 Sep 2015 01:51:08 +0200 Subject: [PATCH] flipselector.edc: array size +1 to prevent loosing last character. Summary: Flipselector lose last character when 50 characters showing case. This defined value will using in snprintf, fetch_str(_edje_embryo_fn_fetch_str). As you already know, we have to give the location in array for '\n'. Test Plan: Give the 50 characters for flipselector text. Reviewers: Hermet, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3064 Signed-off-by: Cedric BAIL --- legacy/elementary/data/themes/edc/elm/flipselector.edc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/data/themes/edc/elm/flipselector.edc b/legacy/elementary/data/themes/edc/elm/flipselector.edc index b913382284..dff2880f7b 100644 --- a/legacy/elementary/data/themes/edc/elm/flipselector.edc +++ b/legacy/elementary/data/themes/edc/elm/flipselector.edc @@ -1,4 +1,4 @@ -#define FLIP_PICKER_MAX_LEN (50) +#define FLIP_PICKER_MAX_LEN (50 + 1) #define FLIP_PICKER_MAX_LEN_STR "50" group { name: "elm/flipselector/base/default";