From 149a2049b27eb22cb679b9b4bc8da568fc3b2533 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 14:06:16 +0100 Subject: fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- gluhncheck.1 | 2 +- gluhncheck.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gluhncheck.1 b/gluhncheck.1 index e388827..43a2cd5 100644 --- a/gluhncheck.1 +++ b/gluhncheck.1 @@ -27,7 +27,7 @@ No operands are supported. The execution of .B gluhncheck is affected by environment variables that -affects its tooltik. +affect its toolkit. .SH SEE ALSO .BR luhncheck (1) diff --git a/gluhncheck.c b/gluhncheck.c index 56741c1..8862469 100644 --- a/gluhncheck.c +++ b/gluhncheck.c @@ -23,7 +23,7 @@ static GtkAccelGroup *accelgroup; static int timer; static const char *statustext = ""; static atomic_flag lock = ATOMIC_FLAG_INIT; -static volatile int statusdefered = 0; +static volatile int statusdeferred = 0; #define DELAY {.tv_sec = 0, .tv_nsec = 500000000L} static const struct itimerspec delay = {.it_interval = {0, 0}, .it_value = DELAY}; @@ -73,7 +73,7 @@ set_status_text(void *user_data) while (atomic_flag_test_and_set_explicit(&lock, memory_order_acquire)); gtk_label_set_text(GTK_LABEL(status), statustext); - statusdefered = 0; + statusdeferred = 0; atomic_flag_clear(&lock); @@ -107,8 +107,8 @@ number_changed(GtkEditable *editable, GtkWidget *button) } else { statustext = "Invalid number"; display = timer >= 0 ? "" : statustext; - if (!statusdefered && timer >= 0) { - statusdefered = 1; + if (!statusdeferred && timer >= 0) { + statusdeferred = 1; add_idle = 1; } } -- cgit v1.2.3-70-g09d2