Commit e35ea310 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dinput: Use SUCCEEDED instead of !FAILED.

parent c2aeb915
......@@ -174,7 +174,7 @@ static HRESULT diactionformat_atow( const DIACTIONFORMATA *in, DIACTIONFORMATW *
out->dwDataSize = in->dwDataSize;
out->dwNumActions = in->dwNumActions;
for (i = 0; i < out->dwNumActions && !FAILED(hr); ++i)
for (i = 0; i < out->dwNumActions && SUCCEEDED(hr); ++i)
{
out->rgoAction[i].uAppData = in->rgoAction[i].uAppData;
out->rgoAction[i].dwSemantic = in->rgoAction[i].dwSemantic;
......
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