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:
Francois Gouget 2021-08-24 10:24:51 +02:00 committed by Alexandre Julliard
parent 2eb4b19f5f
commit c0198a6561
1 changed files with 1 additions and 1 deletions

View File

@ -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;