dpnet: Fix an ASCII / ANSI mixup in a warning message.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2eb4b19f5f
commit
c0198a6561
|
@ -500,7 +500,7 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_AddComponent(IDirectPlay8Address *
|
||||||
case DPNA_DATATYPE_STRING_ANSI:
|
case DPNA_DATATYPE_STRING_ANSI:
|
||||||
if ((strlen((const CHAR*)lpvData)+1) != dwDataSize)
|
if ((strlen((const CHAR*)lpvData)+1) != dwDataSize)
|
||||||
{
|
{
|
||||||
WARN("Invalid ASCII size, returning DPNERR_INVALIDPARAM\n");
|
WARN("Invalid ANSI size, returning DPNERR_INVALIDPARAM\n");
|
||||||
return DPNERR_INVALIDPARAM;
|
return DPNERR_INVALIDPARAM;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue