fixed typo in unicode-path

This commit is contained in:
FelixBrendel
2020-04-19 22:41:25 +02:00
parent 9f8324d7c7
commit faaa452c05
+1 -1
View File
@@ -89,7 +89,7 @@ namespace Slime {
#ifdef UNICODE
fullpath[0] = L'\0';
path_char* temp = char_to_path_char(Memory::get_c_str(file_name));
swprintf(fullpath, max_path_leno, L"%s%s", it, temp);
swprintf(fullpath, max_path_len, L"%s%s", it, temp);
free(temp);
#else
fullpath[0] = '\0';