code clean up

use the macro for br tag.
This commit is contained in:
ChunEon Park 2014-03-16 18:01:47 +09:00
parent 512d16d1cf
commit 634c061e0e
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ edit_changed_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
if ((info->change.insert.plain_length == 1)&&
(info->change.insert.content[0] == ' ')) return;
if (!strcmp(info->change.insert.content, "<br/>"))
if (!strcmp(info->change.insert.content, EOL))
{
line_increase(ed);
syntax_color = EINA_FALSE;
@ -854,7 +854,7 @@ edit_edc_read(edit_data *ed, const char *file_path)
if (!eina_strbuf_append(strbuf_line, buf)) goto err;
//Append edc ccde
if (!eina_strbuf_append(strbuf_edit, "<br/>")) goto err;
if (!eina_strbuf_append(strbuf_edit, EOL)) goto err;
if (!eina_strbuf_append_length(strbuf_edit, line->start, line->length))
goto err;
}