search - code clean up.

simpler expression.
This commit is contained in:
ChunEon Park 2014-03-08 03:19:38 +09:00
parent 2440afc9f0
commit ead75fd261
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ find_forward_proc(search_data *sd)
//Got you!
int len = strlen(find);
sd->pos += (s - (utf8 + sd->pos));
sd->pos = s - utf8;
elm_entry_select_none(sd->entry);
elm_entry_select_region_set(sd->entry, sd->pos, sd->pos + len);
sd->found = EINA_TRUE;