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 | 43f7974f6df415ae1195ca70d573d7b8947c1211 (patch) | |
tree | 88285fef5e7b9d4fce88501d60b958183e8e1a9a /unix.c | |
parent | 7f0caaa89a0230fa4791bf0d4e9b45acdfb801a7 (diff) | |
download | openttd-43f7974f6df415ae1195ca70d573d7b8947c1211.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;} |