Alexandre Julliard : shlwapi:
Use the appropriate constant for an uninitialized TLS check.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 3 05:37:29 CST 2007
Module: wine
Branch: master
Commit: efd0ba8dbc68c933bd12522f1c2add24ea06b8e7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=efd0ba8dbc68c933bd12522f1c2add24ea06b8e7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jan 3 11:02:25 2007 +0100
shlwapi: Use the appropriate constant for an uninitialized TLS check.
---
dlls/shlwapi/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shlwapi/thread.c b/dlls/shlwapi/thread.c
index 58888f7..3be58cc 100644
--- a/dlls/shlwapi/thread.c
+++ b/dlls/shlwapi/thread.c
@@ -180,7 +180,7 @@ HRESULT WINAPI SHSetThreadRef(IUnknown *
{
TRACE("(%p)\n", lpUnknown);
- if (!lpUnknown || SHLWAPI_ThreadRef_index == 0xffffffff)
+ if (!lpUnknown || SHLWAPI_ThreadRef_index == TLS_OUT_OF_INDEXES)
return E_NOINTERFACE;
TlsSetValue(SHLWAPI_ThreadRef_index, lpUnknown);
More information about the wine-cvs
mailing list