Commit 1dc7cbd9 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

Fix OemToAnsiBuff for real Win31 behavior.

parent 7173e1c2
......@@ -574,7 +574,7 @@ INT16 WINAPI OemToAnsi16( LPCSTR s, LPSTR d )
*/
void WINAPI AnsiToOemBuff16( LPCSTR s, LPSTR d, UINT16 len )
{
CharToOemBuffA( s, d, len ? len : 65536 );
if (len != 0) CharToOemBuffA( s, d, len );
}
......@@ -583,7 +583,7 @@ void WINAPI AnsiToOemBuff16( LPCSTR s, LPSTR d, UINT16 len )
*/
void WINAPI OemToAnsiBuff16( LPCSTR s, LPSTR d, UINT16 len )
{
OemToCharBuffA( s, d, len ? len : 65536 );
if (len != 0) OemToCharBuffA( s, d, len );
}
......
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