X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/853cbd5801d6c83dca7ee7ab8f3392b16bde7c96..07a3e200a0aa8d6c1e3356bfdf97ff54dd0df488:/Command.cpp diff --git a/Command.cpp b/Command.cpp index b98925b..c3a0930 100644 --- a/Command.cpp +++ b/Command.cpp @@ -1852,7 +1852,11 @@ int doSingleCrunch(Bundle* bundle) String8 input(bundle->getSingleCrunchInputFile()); String8 output(bundle->getSingleCrunchOutputFile()); - return preProcessImageToCache(bundle, input, output); + if (preProcessImageToCache(bundle, input, output) != NO_ERROR) { + // we can't return the status_t as it gets truncate to the lower 8 bits. + return 42; + } + return NO_ERROR; } char CONSOLE_DATA[2925] = {