diff options
author | Tianjie Xu <xunchang@google.com> | 2017-07-20 01:06:50 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-20 01:06:50 +0200 |
commit | 6d8827e0d3e1563d6d7e7d47f955c0118059134c (patch) | |
tree | b8f24a1af336f7fd0236e5ccf861ac2b15c383ed /minui/resources.cpp | |
parent | Merge "Fix the missing char when showing recovery logs." (diff) | |
parent | Merge "Fix the android-cloexec-* warnings in bootable/recovery" (diff) | |
download | android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.tar android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.tar.gz android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.tar.bz2 android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.tar.lz android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.tar.xz android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.tar.zst android_bootable_recovery-6d8827e0d3e1563d6d7e7d47f955c0118059134c.zip |
Diffstat (limited to 'minui/resources.cpp')
-rw-r--r-- | minui/resources.cpp | 2 |
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; |