Commit e5131028 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dinput: Convert wide action format back to ansi in ConfigureDevices.

parent a37346c6
...@@ -840,6 +840,7 @@ static HRESULT WINAPI dinput8_a_ConfigureDevices( IDirectInput8A *iface_a, LPDIC ...@@ -840,6 +840,7 @@ static HRESULT WINAPI dinput8_a_ConfigureDevices( IDirectInput8A *iface_a, LPDIC
params_w.lprgFormats = &format_w; params_w.lprgFormats = &format_w;
if (SUCCEEDED(hr)) hr = IDirectInput8_ConfigureDevices( iface_w, callback, &params_w, flags, ref ); if (SUCCEEDED(hr)) hr = IDirectInput8_ConfigureDevices( iface_w, callback, &params_w, flags, ref );
if (SUCCEEDED(hr)) diactionformat_wtoa( &format_w, format_a );
if (!format_w.hInstString) if (!format_w.hInstString)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment