summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 9a0464498..84c3365b7 100644
--- a/unix.c
+++ b/unix.c
@@ -559,7 +559,7 @@ bool InsertTextBufferClipboard(Textbuf *tb)
static pthread_t thread1 = 0;
bool CreateOTTDThread(void *func, void *param)
{
- return (pthread_create(&thread1, NULL, func, param) == 0) ? true : false;
+ return pthread_create(&thread1, NULL, func, param) == 0;
}
void CloseOTTDThread(void) {return;}