Skip to content

Commit 706916c

Browse files
author
Roberto De Ioris
committed
fixed 4.18 build
1 parent f12180c commit 706916c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/UnrealEnginePython/Private/UnrealEnginePython.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ void FUnrealEnginePythonModule::RunFile(char *filename)
527527

528528
if (!foundFile)
529529
{
530-
UE_LOG(LogPython, Error, TEXT("Unable to find file %s"), filename);
530+
UE_LOG(LogPython, Error, TEXT("Unable to find file %s"), UTF8_TO_TCHAR(filename));
531531
return;
532532
}
533533

@@ -591,7 +591,7 @@ void FUnrealEnginePythonModule::RunFileSandboxed(char *filename, void(*callback)
591591

592592
if (!foundFile)
593593
{
594-
UE_LOG(LogPython, Error, TEXT("Unable to find file %s"), filename);
594+
UE_LOG(LogPython, Error, TEXT("Unable to find file %s"), UTF8_TO_TCHAR(filename));
595595
return;
596596
}
597597

0 commit comments

Comments
 (0)