From d6217673792a247a086d1f7806ad670eef8e92ef Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 23 Mar 2020 15:57:01 -0400 Subject: Renamed callback function. --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index ac9743f7..c0f625ca 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2355,7 +2355,7 @@ int g_application_run(GApplication *_, int __, char **___) { * libtermkey has been patched to enable suspend as well as enable/disable mouse * mode (1002). */ -static void t_signal(int signal) { +static void signalled(int signal) { if (signal != SIGTSTP) { if (signal == SIGCONT) termkey_start(ta_tk); struct winsize w; @@ -2491,7 +2491,7 @@ int main(int argc, char **argv) { // in them from causing interrupts. struct sigaction act; memset(&act, 0, sizeof(struct sigaction)); - act.sa_handler = t_signal, sigfillset(&act.sa_mask); + act.sa_handler = signalled, sigfillset(&act.sa_mask); sigaction(SIGTSTP, &act, NULL), sigaction(SIGCONT, &act, NULL), sigaction(SIGWINCH, &act, NULL); #else -- cgit v1.2.3