mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 09:59:25 +02:00
* ascii2unicode: consistently use the cp parameter
git-svn-id: trunk@31878 -
This commit is contained in:
parent
da66980766
commit
fdf76bc606
@ -212,7 +212,7 @@ unit widestr;
|
||||
setlengthwidestring(r,l);
|
||||
source:=p;
|
||||
dest:=tcompilerwidecharptr(r^.data);
|
||||
if (current_settings.sourcecodepage <> CP_UTF8) and
|
||||
if (cp<>CP_UTF8) and
|
||||
codepagetranslation then
|
||||
begin
|
||||
for i:=1 to l do
|
||||
|
Loading…
Reference in New Issue
Block a user