summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-07-20 01:00:19 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-07-20 01:00:19 +0200
commit94a8ea1797cf807458f94953fe721985bf1261f0 (patch)
treebdcda7cd5a4e2baa1f45c66f6a1698df47119175 /minui
parentMerge "Fix the missing char when showing recovery logs." (diff)
parentFix the android-cloexec-* warnings in bootable/recovery (diff)
downloadandroid_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.tar
android_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.tar.gz
android_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.tar.bz2
android_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.tar.lz
android_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.tar.xz
android_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.tar.zst
android_bootable_recovery-94a8ea1797cf807458f94953fe721985bf1261f0.zip
Diffstat (limited to 'minui')
-rw-r--r--minui/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.cpp b/minui/resources.cpp
index 86c731b02..8f8d36d27 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -56,7 +56,7 @@ static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr,
snprintf(resPath, sizeof(resPath)-1, "/res/images/%s.png", name);
resPath[sizeof(resPath)-1] = '\0';
- FILE* fp = fopen(resPath, "rb");
+ FILE* fp = fopen(resPath, "rbe");
if (fp == NULL) {
result = -1;
goto exit;