mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 23:10:24 +02:00
* let GetDirIO() return its result in DefaultFileSystemCodePage, as its only
used internally and in combination with other strings in that code page git-svn-id: trunk@28571 -
This commit is contained in:
parent
88d969f3bd
commit
74e56c2674
@ -79,6 +79,10 @@ begin
|
||||
OldInOutRes := InOutRes;
|
||||
InOutRes := 0;
|
||||
GetDir (DriveNr, Dir);
|
||||
{$IF defined(FPC_FEXPAND_SYSUTILS) and not defined(SYSUTILSUNICODE)}
|
||||
{ set the same codepage as used for the strings in fexpand itself }
|
||||
SetCodePage(Dir,DefaultFileSystemCodePage);
|
||||
{$ENDIF FPC_FEXPAND_SYSUTILS and not SYSUTILSUNICODE}
|
||||
InOutRes := OldInOutRes;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user