summaryrefslogtreecommitdiffstats
path: root/minui/resources.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-08-30 01:01:47 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-30 01:01:47 +0200
commita0ba2d3a6299a3931821b5c6ae10964e6815e8ea (patch)
tree13812661982fda40e2261c45ce25e8c68856701c /minui/resources.c
parentam d52ef348: am bddbb5b3: Merge "Fixing trivial warnings for libminui" (diff)
parentMerge "recovery locale handling fixes" into jb-mr1-dev (diff)
downloadandroid_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.tar
android_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.tar.gz
android_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.tar.bz2
android_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.tar.lz
android_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.tar.xz
android_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.tar.zst
android_bootable_recovery-a0ba2d3a6299a3931821b5c6ae10964e6815e8ea.zip
Diffstat (limited to 'minui/resources.c')
-rw-r--r--minui/resources.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/minui/resources.c b/minui/resources.c
index 60f354254..ac7bdac4c 100644
--- a/minui/resources.c
+++ b/minui/resources.c
@@ -249,18 +249,13 @@ int res_create_localized_surface(const char* name, gr_surface* pSurface) {
size_t height = info_ptr->height;
size_t stride = 4 * width;
- printf("image size is %d x %d\n", width, height);
-
int color_type = info_ptr->color_type;
int bit_depth = info_ptr->bit_depth;
int channels = info_ptr->channels;
- printf("color_type %d bit_depth %d channels %d\n",
- color_type, bit_depth, channels);
if (!(bit_depth == 8 &&
(channels == 1 && color_type == PNG_COLOR_TYPE_GRAY))) {
return -7;
- printf("exiting -7\n");
goto exit;
}
@@ -276,8 +271,6 @@ int res_create_localized_surface(const char* name, gr_surface* pSurface) {
printf("row %d: %s %d x %d\n", y, loc, w, h);
if (y+1+h >= height || matches_locale(loc)) {
- printf(" taking this one\n");
-
surface = malloc(sizeof(GGLSurface));
if (surface == NULL) {
result = -8;
@@ -301,7 +294,6 @@ int res_create_localized_surface(const char* name, gr_surface* pSurface) {
*pSurface = (gr_surface) surface;
break;
} else {
- printf(" skipping\n");
int i;
for (i = 0; i < h; ++i, ++y) {
png_read_row(png_ptr, row, NULL);