Oops
Forgot to update a few lines of code in the previous commit. Sorry!
This commit is contained in:
parent
67ef365505
commit
cef22a5325
@ -21,8 +21,8 @@ static AppPlatform_readAssetFile_return_value AppPlatform_readAssetFile_injectio
|
||||
stream.read(buf, len);
|
||||
// Return String
|
||||
AppPlatform_readAssetFile_return_value ret;
|
||||
ret.length = str.length();
|
||||
ret.data = strdup(str.c_str());
|
||||
ret.length = len;
|
||||
ret.data = strdup(buf);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user