[vlc-commits] WinCE: typos

Rémi Denis-Courmont git at videolan.org
Sat Aug 6 11:35:38 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug  6 12:35:20 2011 +0300| [a7fcaf89a700a2edddcb4c7e07f1e1bc45c5c4b1] | committer: Rémi Denis-Courmont

WinCE: typos

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a7fcaf89a700a2edddcb4c7e07f1e1bc45c5c4b1
---

 src/win32/thread.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/win32/thread.c b/src/win32/thread.c
index d93cf28..015c892 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -71,7 +71,7 @@ DWORD WaitForMultipleObjectsEx (DWORD nCount, const HANDLE *lpHandles,
     HANDLE handles[nCount + 1];
     DWORD ret;
 
-    memcpy(handles, lpHandles, count * sizeof(HANDLE));
+    memcpy(handles, lpHandles, nCount * sizeof(HANDLE));
     if (bAlertable)
     {
         struct vlc_thread *th = vlc_threadvar_get (thread_key);
@@ -82,7 +82,7 @@ DWORD WaitForMultipleObjectsEx (DWORD nCount, const HANDLE *lpHandles,
             assert (!bWaitAll);
         }
         else
-            bAltertable = FALSE;
+            bAlertable = FALSE;
     }
 
     ret = WaitForMultipleObjects (nCount + bAlertable, handles, bWaitAll,



More information about the vlc-commits mailing list