|
@@ -373,10 +373,10 @@ begin
|
|
Result := Length;
|
|
Result := Length;
|
|
{$ifndef WINCE}
|
|
{$ifndef WINCE}
|
|
if (FromCP = GetOEMCP) and (ToCP = GetACP) then
|
|
if (FromCP = GetOEMCP) and (ToCP = GetACP) then
|
|
- OemToCharBuff(Src, Dest, Length)
|
|
|
|
|
|
+ OemToCharBuffA(Src, Dest, Length)
|
|
else
|
|
else
|
|
if (FromCP = GetACP) and (ToCP = GetOEMCP) then
|
|
if (FromCP = GetACP) and (ToCP = GetOEMCP) then
|
|
- CharToOemBuff(Src, Dest, Length)
|
|
|
|
|
|
+ CharToOemBuffA(Src, Dest, Length)
|
|
else
|
|
else
|
|
{$endif}
|
|
{$endif}
|
|
if FromCP = ToCP then
|
|
if FromCP = ToCP then
|