From: Hannes Janetzek Date: Thu, 20 May 2010 05:02:24 +0000 (+0000) Subject: keep input text after plugin trigger X-Git-Tag: submit/efl/20131021.015651~7415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cda1b4edb41e2f08f7aeeaaa10d888ab0d7a449;p=platform%2Fupstream%2Fenlightenment.git keep input text after plugin trigger SVN revision: 49052 --- diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c index 9580205..118c7ca 100644 --- a/src/modules/everything/evry.c +++ b/src/modules/everything/evry.c @@ -2433,7 +2433,11 @@ _evry_matches_update(Evry_Selector *sel, int async) if (len_trigger > 1) { s->inp[0] = '>'; - s->inp[1] = '\0'; + + if (s->inp + len_trigger) + strcpy(s->inp + 1, s->inp + len_trigger); + else + s->inp[1] = 0; } s->input = s->inp + 1; _evry_update_text_label(s);