Michael Stefaniuc : ntdll: Print the correct debug string and not a random global variable.

Alexandre Julliard julliard at winehq.org
Fri Dec 4 14:36:02 CST 2020


Module: wine
Branch: master
Commit: cdf1b61a47a2fee8befb2ccbcce4e891f60a24f8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cdf1b61a47a2fee8befb2ccbcce4e891f60a24f8

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Dec  4 00:36:29 2020 +0100

ntdll: Print the correct debug string and not a random global variable.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/actctx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index b99d1655d22..faccd21d4b1 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -3533,7 +3533,7 @@ static struct string_index *find_string_index(const struct strsection_header *se
                 break;
             }
             else
-                WARN("hash collision 0x%08x, %s, %s\n", hash, debugstr_us(name), debugstr_w(nameW));
+                WARN("hash collision 0x%08x, %s, %s\n", hash, debugstr_us(name), debugstr_us(&str));
         }
         iter++;
     }
@@ -3794,7 +3794,7 @@ static NTSTATUS find_window_class(ACTIVATION_CONTEXT* actctx, const UNICODE_STRI
                 break;
             }
             else
-                WARN("hash collision 0x%08x, %s, %s\n", hash, debugstr_us(name), debugstr_w(nameW));
+                WARN("hash collision 0x%08x, %s, %s\n", hash, debugstr_us(name), debugstr_us(&str));
         }
         iter++;
     }




More information about the wine-cvs mailing list