diff options
| -rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
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 2aa0f66..c94ef4e 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 char* imgbuf = (char*)skin_buffer_alloc(buf_size); if (!imgbuf) { +#ifndef APPLICATION DEBUGF("Not enough skin buffer: need %zd more.\n", buf_size - skin_buffer_freespace()); +#endif close(fd); return NULL; } |