aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-23 15:57:01 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-23 15:57:01 -0400
commitd6217673792a247a086d1f7806ad670eef8e92ef (patch)
treee464c43c67172433326a74d344fcb93241b8f8b0
parent674375e78d29ec6abf3c0ae8ba230c619229c7ce (diff)
Renamed callback function.
-rw-r--r--src/textadept.c4
1 files changed, 2 insertions, 2 deletions
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