From e3faaab83d4f88348ac605f56fc8f1a34197671e Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 13 Oct 2018 18:10:54 +0200 Subject: [PATCH] termio: simplify _handle_query_esc() --- src/bin/termio.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index 934ada86..e82b7558 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -5588,11 +5588,9 @@ _smart_pty_bell(void *data) } static void -_handle_query_esc(Evas_Object *obj, - Termio *sd, - Config *config, - Termpty *ty) +_handle_query_esc(Termio *sd) { + Termpty *ty = sd->pty; if (ty->cur_cmd[1] == 's') { char buf[256]; @@ -5653,7 +5651,7 @@ _smart_pty_command(void *data) return; if (ty->cur_cmd[0] == 'q') { - _handle_query_esc(obj, sd, config, ty); + _handle_query_esc(sd); return; }