nikawhite pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=fb59a491bad2a078b4faa15a84abe2e5ccd8e601
commit fb59a491bad2a078b4faa15a84abe2e5ccd8e601 Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Thu Mar 3 13:33:12 2016 +0900 Indent: check last '\n' in file before convert edc source to the markup text. This solve issue when the additional empty line was added to the bottom of formatted text. @fix T3128 --- src/lib/indent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/indent.c b/src/lib/indent.c index 6901257..5622ed9 100644 --- a/src/lib/indent.c +++ b/src/lib/indent.c @@ -666,6 +666,8 @@ indent_text_check(indent_data *id EINA_UNUSED, const char *utf8) macro_found = EINA_FALSE; } } + if (utf8_ptr >= utf8_end - 1) + return EINA_FALSE; space = 0; nonspace_found = EINA_FALSE; } --