diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-08-15 15:20:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-08-15 15:20:12 +0000 |
| commit | 96c30cd410ddd36bbb583caca44d4834851408da (patch) | |
| tree | 2317091562b14bd8f94c0ef5bf96a85a31f7da2b /terminal.c | |
| parent | changelog: 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
