mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
Typos
This commit is contained in:
@@ -44,7 +44,7 @@ struct FullBufferImpl final : FileReader::Impl {
|
||||
const wchar_t* fn_wide = fn_ws.c_str();
|
||||
auto stream = _wfopen(fn_wide, L"rb");
|
||||
#else
|
||||
auto stream = fopen(path.c_str(), "rb");
|
||||
auto stream = fopen(fn.c_str(), "rb");
|
||||
#endif
|
||||
fseek(stream, 0, SEEK_END);
|
||||
buf_.resize((size_t)ftell(stream));
|
||||
@@ -82,7 +82,7 @@ struct PagedFileImpl final : FileReader::Impl {
|
||||
const wchar_t* fn_wide = fn_ws.c_str();
|
||||
fp_ = _wfopen(fn_wide, L"rb");
|
||||
#else
|
||||
fp_ = fopen(path.c_str(), "rb");
|
||||
fp_ = fopen(fn.c_str(), "rb");
|
||||
#endif
|
||||
fseek(fp_, 0, SEEK_END);
|
||||
file_size_ = (size_t)ftell(fp_);
|
||||
|
||||
Reference in New Issue
Block a user