From 8a4e28f81db16c034274e5d78dddfe33824e59fe Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 31 May 2016 00:01:19 +0200 Subject: Support Android internal data storage Useful to save small data files (configuration and so) For bigger files, external data storage should be used (SDCard) --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 974088f3..f0ccf3e2 100644 --- a/src/utils.c +++ b/src/utils.c @@ -247,7 +247,7 @@ FILE *android_fopen(const char *fileName, const char *mode) AAsset *asset = AAssetManager_open(assetManager, fileName, 0); - if(!asset) return NULL; + if (!asset) return NULL; return funopen(asset, android_read, android_write, android_seek, android_close); } -- cgit v1.2.3