os: fix typo in AAssetManager

pull/7366/head^2
Delyan Angelov 2020-12-17 09:08:17 +02:00
parent 05e101bd95
commit 8addb31440
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ pub fn read_apk_asset(file string) ?[]byte {
if isnil(act) {
return error('Could not get reference to Android activity')
}
asset := C.AAssetManager_open(&C.AAsetManager(act.assetManager), file.str, C.AASSET_MODE_STREAMING)
asset := C.AAssetManager_open(&C.AAssetManager(act.assetManager), file.str, C.AASSET_MODE_STREAMING)
if isnil(asset) {
return error('File `$file` not found')
}