dinput: Fix printing NULL strings.
Francois Gouget
fgouget at free.fr
Sun Sep 18 12:44:01 CDT 2011
---
This lets the test complete without crashing on my Solaris VMs.
dlls/dinput/dinput_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c
index 028d901..373b990 100644
--- a/dlls/dinput/dinput_main.c
+++ b/dlls/dinput/dinput_main.c
@@ -883,7 +883,7 @@ static HRESULT WINAPI IDirectInput8AImpl_EnumDevicesBySemantics(
int i, j;
- FIXME("(this=%p,%s,%p,%p,%p,%04x): semi-stub\n", This, ptszUserName, lpdiActionFormat,
+ FIXME("(this=%p,%s,%p,%p,%p,%04x): semi-stub\n", This, debugstr_a(ptszUserName), lpdiActionFormat,
lpCallback, pvRef, dwFlags);
#define X(x) if (dwFlags & x) FIXME("\tdwFlags |= "#x"\n");
X(DIEDBSFL_ATTACHEDONLY)
--
1.7.5.4
More information about the wine-patches
mailing list