fix(iidxhook-util/settings): Bugfix broken paths with mixed / and \

Applies to iidx18 and iidx19 when using the recently extended
redirect feature for settings paths, mixing / and \ crashes the
game in some operator sub-menus when trying to save settings.
This commit is contained in:
icex2
2023-04-01 20:54:18 +02:00
parent 5e68df541f
commit ffb589faa7
3 changed files with 30 additions and 6 deletions
+1
View File
@@ -15,6 +15,7 @@ size_t str_format(char *buf, size_t nchars, const char *fmt, ...);
void str_trim(char *str);
size_t str_vformat(char *buf, size_t nchars, const char *fmt, va_list ap);
wchar_t *str_widen(const char *src);
void str_replace(char *str, char cur, char new);
void wstr_cat(wchar_t *dest, size_t dnchars, const wchar_t *src);
void wstr_cpy(wchar_t *dest, size_t dnchars, const wchar_t *src);