mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-04 10:35:09 +08:00
Fix syntax.
This commit is contained in:
parent
ecfd37dee2
commit
b534b6b0d8
@ -2755,7 +2755,6 @@ bool FileExists(const std::string &abs_filename, void *) {
|
|||||||
if (result & FILE_ATTRIBUTE_DIRECTORY) {
|
if (result & FILE_ATTRIBUTE_DIRECTORY) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
FILE *fp = nullptr;
|
FILE *fp = nullptr;
|
||||||
errno_t err = _wfopen_s(&fp, UTF8ToWchar(abs_filename).c_str(), L"rb");
|
errno_t err = _wfopen_s(&fp, UTF8ToWchar(abs_filename).c_str(), L"rb");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user