cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=772821a272fe8973130cef8e19e6275200120bcf

commit 772821a272fe8973130cef8e19e6275200120bcf
Author: Woochan Lee <wc0917....@samsung.com>
Date:   Tue Sep 22 01:51:08 2015 +0200

    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 <ced...@osg.samsung.com>
---
 data/themes/edc/elm/flipselector.edc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/themes/edc/elm/flipselector.edc 
b/data/themes/edc/elm/flipselector.edc
index b913382..dff2880 100644
--- a/data/themes/edc/elm/flipselector.edc
+++ b/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";

-- 


Reply via email to