From 8addb3144099b497c660f9a09c5f208326cddde6 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 17 Dec 2020 09:08:17 +0200 Subject: [PATCH] os: fix typo in AAssetManager --- vlib/os/os_android.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/os/os_android.c.v b/vlib/os/os_android.c.v index a1c27372fb..b6259c45a8 100644 --- a/vlib/os/os_android.c.v +++ b/vlib/os/os_android.c.v @@ -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') }