diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-15 01:47:54 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-15 01:48:10 +0100 |
commit | a1e47ca4c97d10ed6c264e6e567bc1870d0a88de (patch) | |
tree | 0d92608e1d32e584e039636ded14bb013a6b9d5d /degesch.c | |
parent | 6c7a2ce3c8346ff4da085e560caf73687c7c2a3b (diff) | |
download | xK-a1e47ca4c97d10ed6c264e6e567bc1870d0a88de.tar.gz xK-a1e47ca4c97d10ed6c264e6e567bc1870d0a88de.tar.xz xK-a1e47ca4c97d10ed6c264e6e567bc1870d0a88de.zip |
degesch: cleanup
Unnecessary oneliner function.
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -9051,12 +9051,6 @@ jump_to_buffer (struct app_context *ctx, int n) } static void -await_mirc_escape (struct app_context *ctx) -{ - ctx->awaiting_mirc_escape = true; -} - -static void exec_backlog_helper (const char *command, FILE *backlog) { dup2 (fileno (backlog), STDIN_FILENO); @@ -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; } |