Fix: Actually invoke the user-supplied function

This commit is contained in:
David Siegel 2023-04-26 12:13:41 +02:00
parent 59cc44ad4f
commit cc93e1fd25

View File

@ -2425,7 +2425,7 @@ static bool LoadExternalFile(std::vector<unsigned char> *out, std::string *err,
size_t file_size{0};
std::string _err;
bool ok = fs-GetFileSizeInBytes(&file_size, &_err, filepath, fs->user_data);
bool ok = fs->GetFileSizeInBytes(&file_size, &_err, filepath, fs->user_data);
if (!ok) {
if (_err.size()) {
if (failMsgOut) {