From a1e47ca4c97d10ed6c264e6e567bc1870d0a88de Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 15 Nov 2015 01:47:54 +0100
Subject: degesch: cleanup
Unnecessary oneliner function.
---
degesch.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/degesch.c b/degesch.c
index cdfb6f7..f535170 100644
--- a/degesch.c
+++ b/degesch.c
@@ -9050,12 +9050,6 @@ jump_to_buffer (struct app_context *ctx, int n)
return true;
}
-static void
-await_mirc_escape (struct app_context *ctx)
-{
- ctx->awaiting_mirc_escape = true;
-}
-
static void
exec_backlog_helper (const char *command, FILE *backlog)
{
@@ -9243,7 +9237,7 @@ on_readline_insert_attribute (int count, int key)
(void) key;
struct app_context *ctx = g_ctx;
- await_mirc_escape (ctx);
+ ctx->awaiting_mirc_escape = true;
return 0;
}
@@ -9426,7 +9420,7 @@ on_editline_insert_attribute (EditLine *editline, int key)
(void) editline;
(void) key;
- await_mirc_escape (g_ctx);
+ g_ctx->awaiting_mirc_escape = true;
return CC_NORM;
}
--
cgit v1.2.3-70-g09d2