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