declare variables at the beginning of the block

SVN revision: 55491
This commit is contained in:
Vincent Torri 2010-12-11 09:00:13 +00:00
parent d88618afc5
commit 4594a53cd1
1 changed files with 2 additions and 1 deletions

View File

@ -4841,10 +4841,11 @@ evas_textblock_cursor_line_char_last(Evas_Textblock_Cursor *cur)
static Eina_Bool
_evas_textblock_format_is_visible(const char *s)
{
if (!s) return EINA_FALSE;
const char *item;
Eina_Bool is_opener = EINA_TRUE;
if (!s) return EINA_FALSE;
if (s[0] == '+' || s[0] == '-')
{
is_opener = (s[0] == '+') ? EINA_TRUE : EINA_FALSE;