mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix typo in AAssetManager
This commit is contained in:
parent
05e101bd95
commit
8addb31440
@ -23,7 +23,7 @@ pub fn read_apk_asset(file string) ?[]byte {
|
|||||||
if isnil(act) {
|
if isnil(act) {
|
||||||
return error('Could not get reference to Android activity')
|
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) {
|
if isnil(asset) {
|
||||||
return error('File `$file` not found')
|
return error('File `$file` not found')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user