Nikolay Sivov : d3d10/effect: Fix a trace message.

Alexandre Julliard julliard at winehq.org
Fri Nov 19 15:45:32 CST 2021


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Nov 17 15:58:01 2021 +0300

d3d10/effect: Fix a trace message.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d10/effect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 3f35e9cc28a..04250a1663e 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -4115,7 +4115,7 @@ static struct ID3D10EffectVariable * STDMETHODCALLTYPE d3d10_effect_GetVariableB
 
     if ((v = d3d10_effect_get_variable_by_index(effect, index)))
     {
-        TRACE("Returning %svariable %s.\n", is_var_shared(v) ? "shared " : NULL, debugstr_a(v->name));
+        TRACE("Returning %svariable %s.\n", is_var_shared(v) ? "shared " : "", debugstr_a(v->name));
         return &v->ID3D10EffectVariable_iface;
     }
 




More information about the wine-cvs mailing list