diff options
author | tron <tron@openttd.org> | 2005-08-05 20:18:08 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-05 20:18:08 +0000 |
commit | a8e53be6b9a063cbce7525001f134277da7cffb6 (patch) | |
tree | 3919f34af4a4615c0d10fde13343ee2f0116276c | |
parent | c78af95d1d3ed714d365fc9d9005e39f926bfb80 (diff) | |
download | openttd-a8e53be6b9a063cbce7525001f134277da7cffb6.tar.xz |
(svn r2811) Fix typos in r2810
-rw-r--r-- | thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ void* OTTDJoinThread(Thread*) { return NULL; } struct Thread { TID thread; - ThradFunc func; + ThreadFunc func; void* arg; void* ret; }; @@ -98,7 +98,7 @@ void* OTTDJoinThread(Thread* t) struct Thread { HANDLE thread; - ThradFunc func; + ThreadFunc func; void* arg; void* ret; }; @@ -119,7 +119,7 @@ Thread* OTTDCreateThread(ThreadFunc function, void* arg) t->func = function; t->arg = arg; - t->thread = CreateThread(NULL, 0, Proxy, arg, 0, &dwThreadId); + t->thread = CreateThread(NULL, 0, Proxy, t, 0, &dwThreadId); if (t->thread != NULL) { return t; |