IGFD: fix non-ASCII chars being treated as unprint
able
This commit is contained in:
parent
aef9c7b4b9
commit
0ecca80c4e
2
extern/igfd/ImGuiFileDialog.cpp
vendored
2
extern/igfd/ImGuiFileDialog.cpp
vendored
|
@ -3859,7 +3859,7 @@ namespace IGFD
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
for (const char* i=n; *i; i++) {
|
for (const unsigned char* i=(const unsigned char*)n; *i; i++) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (*i<32) {
|
if (*i<32) {
|
||||||
return 3;
|
return 3;
|
||||||
|
|
Loading…
Reference in a new issue