am 196c25c7: don\'t complain if recovery icon is short
Merge commit '196c25c777daedbe2fe5a45171fb42e43ceed9af' into eclair-plus-aosp * commit '196c25c777daedbe2fe5a45171fb42e43ceed9af': don't complain if recovery icon is short
This commit is contained in:
6
ui.c
6
ui.c
@@ -339,7 +339,11 @@ void ui_init(void)
|
|||||||
for (i = 0; BITMAPS[i].name != NULL; ++i) {
|
for (i = 0; BITMAPS[i].name != NULL; ++i) {
|
||||||
int result = res_create_surface(BITMAPS[i].name, BITMAPS[i].surface);
|
int result = res_create_surface(BITMAPS[i].name, BITMAPS[i].surface);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
LOGE("Missing bitmap %s\n(Code %d)\n", BITMAPS[i].name, result);
|
if (result == -2) {
|
||||||
|
LOGI("Bitmap %s missing header\n", BITMAPS[i].name);
|
||||||
|
} else {
|
||||||
|
LOGE("Missing bitmap %s\n(Code %d)\n", BITMAPS[i].name, result);
|
||||||
|
}
|
||||||
*BITMAPS[i].surface = NULL;
|
*BITMAPS[i].surface = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user