aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-08-15 15:20:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-08-15 15:20:12 +0000
commit96c30cd410ddd36bbb583caca44d4834851408da (patch)
tree2317091562b14bd8f94c0ef5bf96a85a31f7da2b /terminal.c
parentchangelog: add new 'unreleased' section (diff)
term: thrd_join() returns thrd_success on success, not 0
Closes #1812
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index fe97e958..e7812e2e 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1048,7 +1048,7 @@ reload_fonts(struct terminal *term, bool resize_grid)
for (size_t i = 0; i < 4; i++) {
if (tids[i] != 0) {
int ret;
- if (thrd_join(tids[i], &ret) != 0)
+ if (thrd_join(tids[i], &ret) != thrd_success)
success = false;
else
success = success && ret;