summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-11-12 21:21:23 +0000
committerThomas Martitz <kugel@rockbox.org>2010-11-12 21:21:23 +0000
commit6c8267a42cffd711dcd4230415f7e0ab15b855b3 (patch)
treee33746260752988f0d8aca0b36c9660857662df1
parent28774873cf49047eeeafe4cdb59c2c7abc0f47b7 (diff)
downloadrockbox-6c8267a42cffd711dcd4230415f7e0ab15b855b3.tar.gz
rockbox-6c8267a42cffd711dcd4230415f7e0ab15b855b3.zip
Android: Fix compilation failure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28566 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 2aa0f66da0..c94ef4e5b5 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1124,8 +1124,10 @@ static bool load_skin_bmp(struct wps_data *wps_data, struct bitmap *bitmap, char
1124 char* imgbuf = (char*)skin_buffer_alloc(buf_size); 1124 char* imgbuf = (char*)skin_buffer_alloc(buf_size);
1125 if (!imgbuf) 1125 if (!imgbuf)
1126 { 1126 {
1127#ifndef APPLICATION
1127 DEBUGF("Not enough skin buffer: need %zd more.\n", 1128 DEBUGF("Not enough skin buffer: need %zd more.\n",
1128 buf_size - skin_buffer_freespace()); 1129 buf_size - skin_buffer_freespace());
1130#endif
1129 close(fd); 1131 close(fd);
1130 return NULL; 1132 return NULL;
1131 } 1133 }