summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-12-11 09:00:13 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-12-11 09:00:13 +0000
commit4594a53cd136f6c738b8c1fdbbf6a6c88ef3f500 (patch)
tree5ab7c1c9ab0a9e69a61d401c3991568d42597c1f /legacy/evas/src/lib/canvas/evas_object_textblock.c
parentd88618afc5c478aa95c7f704ce64cc5df8413736 (diff)
declare variables at the beginning of the block
SVN revision: 55491
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textblock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c
index 305d809f85..20583ec1f8 100644
--- a/legacy/evas/src/lib/canvas/evas_object_textblock.c
+++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c
@@ -4841,10 +4841,11 @@ evas_textblock_cursor_line_char_last(Evas_Textblock_Cursor *cur)
4841static Eina_Bool 4841static Eina_Bool
4842_evas_textblock_format_is_visible(const char *s) 4842_evas_textblock_format_is_visible(const char *s)
4843{ 4843{
4844 if (!s) return EINA_FALSE;
4845 const char *item; 4844 const char *item;
4846 Eina_Bool is_opener = EINA_TRUE; 4845 Eina_Bool is_opener = EINA_TRUE;
4847 4846
4847 if (!s) return EINA_FALSE;
4848
4848 if (s[0] == '+' || s[0] == '-') 4849 if (s[0] == '+' || s[0] == '-')
4849 { 4850 {
4850 is_opener = (s[0] == '+') ? EINA_TRUE : EINA_FALSE; 4851 is_opener = (s[0] == '+') ? EINA_TRUE : EINA_FALSE;