Skip to content

Commit 82a8eb9

Browse files
Use wchar with Py_SetProgramName
1 parent d1b01bc commit 82a8eb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
2424
//Py_VerboseFlag += 1;
2525

2626
/* not the real path, but this should make it look for modules in ./lib */
27-
Py_SetProgramName("./bin/python");
27+
Py_SetProgramName(L"./bin/python");
2828

2929
Py_Initialize();
3030

0 commit comments

Comments
 (0)