degesch: cleanup
Unnecessary oneliner function.
This commit is contained in:
parent
6c7a2ce3c8
commit
a1e47ca4c9
10
degesch.c
10
degesch.c
@ -9050,12 +9050,6 @@ jump_to_buffer (struct app_context *ctx, int n)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
await_mirc_escape (struct app_context *ctx)
|
|
||||||
{
|
|
||||||
ctx->awaiting_mirc_escape = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
exec_backlog_helper (const char *command, FILE *backlog)
|
exec_backlog_helper (const char *command, FILE *backlog)
|
||||||
{
|
{
|
||||||
@ -9243,7 +9237,7 @@ on_readline_insert_attribute (int count, int key)
|
|||||||
(void) key;
|
(void) key;
|
||||||
|
|
||||||
struct app_context *ctx = g_ctx;
|
struct app_context *ctx = g_ctx;
|
||||||
await_mirc_escape (ctx);
|
ctx->awaiting_mirc_escape = true;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9426,7 +9420,7 @@ on_editline_insert_attribute (EditLine *editline, int key)
|
|||||||
(void) editline;
|
(void) editline;
|
||||||
(void) key;
|
(void) key;
|
||||||
|
|
||||||
await_mirc_escape (g_ctx);
|
g_ctx->awaiting_mirc_escape = true;
|
||||||
return CC_NORM;
|
return CC_NORM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user