diff options
author | tron <tron@openttd.org> | 2005-06-04 07:35:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-04 07:35:12 +0000 |
commit | 1273f21ff58b0746584b02c0608962ef5b677a7c (patch) | |
tree | 88285fef5e7b9d4fce88501d60b958183e8e1a9a /unix.c | |
parent | 793eba3a3a2fac64e0e4bd860d8c04d75061abd4 (diff) | |
download | openttd-1273f21ff58b0746584b02c0608962ef5b677a7c.tar.xz |
(svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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;} |