kernel32: Fix a comment in LocalInit16().
Francois Gouget
fgouget at free.fr
Sun Dec 28 03:36:37 CST 2008
---
My understanding is that all debug channels are independent so the
comment does not really make sense as is. So either TRACE_ON(local) is
what's really meant, there's some link between local and heap that I
missed, or the code is wrong.
dlls/kernel32/local16.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/local16.c b/dlls/kernel32/local16.c
index 48bc6c3..a5b2fc7 100644
--- a/dlls/kernel32/local16.c
+++ b/dlls/kernel32/local16.c
@@ -412,7 +412,7 @@ BOOL16 WINAPI LocalInit16( HANDLE16 selector, WORD start, WORD end )
if (TRACE_ON(local))
{
- /* If TRACE_ON(heap) is set, the global heap blocks are */
+ /* If TRACE_ON(local) is set, the global heap blocks are */
/* cleared before use, so we can test for double initialization. */
if (LOCAL_GetHeap(selector))
{
--
1.5.6.5
More information about the wine-patches
mailing list