edc_parser: Replace char* to const char*.

Replace char* to const char* because the string is not modified.
This commit is contained in:
Jaehyun Cho 2016-07-22 15:02:28 +09:00
parent 2fc82c79d3
commit 9edd41ac45
1 changed files with 2 additions and 2 deletions

View File

@ -1600,11 +1600,11 @@ Eina_Stringshare *
parser_first_group_name_get(parser_data *pd EINA_UNUSED, Evas_Object *entry) parser_first_group_name_get(parser_data *pd EINA_UNUSED, Evas_Object *entry)
{ {
Evas_Object *tb = elm_entry_textblock_get(entry); Evas_Object *tb = elm_entry_textblock_get(entry);
char *text = (char *) evas_object_textblock_text_markup_get(tb); const char *text = evas_object_textblock_text_markup_get(tb);
if (!text) return NULL; if (!text) return NULL;
const int text_len = strlen(text); const int text_len = strlen(text);
char *p = text; char *p = (char *) text;
const char *quot = QUOT; const char *quot = QUOT;
const int quot_len = QUOT_LEN; const int quot_len = QUOT_LEN;