Skip to content

Commit 0d606f5

Browse files
committed
1 parent c33e873 commit 0d606f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4916,7 +4916,7 @@ procedure TPythonEngine.Initialize;
49164916
AssignPyFlags;
49174917
if FPythonHomeW <> '' then begin
49184918
if IsPython3000 then
4919-
Py_SetPythonHome3000(PChar(FPythonHomeW))
4919+
Py_SetPythonHome3000(PWideChar(FPythonHomeW))
49204920
else
49214921
Py_SetPythonHome(PAnsiChar(FPythonHome));
49224922
end;

0 commit comments

Comments
 (0)