Hi sebastien

this patch only fix the Select_ALL in "Patch editor" but in
text edit like "Login" "Password" "IP address" there are still 
on character left. 

On 04/10/2011 11:21 AM, Xiangfu Liu wrote:
> Signed-off-by: Xiangfu Liu <[email protected]>
> ---
>  lib/edit.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/edit.c b/lib/edit.c
> index a2a1fac..800933c 100644
> --- a/lib/edit.c
> +++ b/lib/edit.c
> @@ -497,7 +497,7 @@ static void edit_handle_event(EDIT *e, EVENT *ev, WIDGET 
> *from)
>                               case MTK_KEY_A:
>                                       
> if(userstate->get_keystate(MTK_KEY_LEFTCTRL)) {
>                                               e->ed->sel_beg = 0;
> -                                             e->ed->sel_end = 
> strlen(e->ed->txtbuf)-1;
> +                                             e->ed->sel_end = 
> strlen(e->ed->txtbuf);
>                                               ev_done = 2;
>                                       }
>                                       break;


-- 
Best Regards
Xiangfu
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to