Fix incorrect format specifier to printf
Detected by code scanning
This commit is contained in:
parent
907db09a58
commit
26699cd9ef
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ set_xoptions(const wchar_t *exe_dir, const char *lc_ctype) {
|
|||
swprintf(buf, PATH_MAX, L"bundle_exe_dir=%ls", exe_dir);
|
||||
PySys_AddXOption(buf);
|
||||
if (lc_ctype) {
|
||||
swprintf(buf, PATH_MAX, L"lc_ctype_before_python=%ls", lc_ctype);
|
||||
swprintf(buf, PATH_MAX, L"lc_ctype_before_python=%s", lc_ctype);
|
||||
PySys_AddXOption(buf);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue