diff options
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r-- | miscutils/fbsplash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index 1ea5d8ebb..ec0f092dc 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
@@ -257,7 +257,9 @@ static void fb_drawimage(void) | |||
257 | 257 | ||
258 | if (ENABLE_FEATURE_CLEAN_UP) | 258 | if (ENABLE_FEATURE_CLEAN_UP) |
259 | free(head); | 259 | free(head); |
260 | 260 | if (width != G.scr_var.xres || height != G.scr_var.yres) | |
261 | bb_error_msg_and_die("PPM %dx%d does not match screen %dx%d", | ||
262 | width, height, G.scr_var.xres, G.scr_var.yres); | ||
261 | line_size = width*3; | 263 | line_size = width*3; |
262 | if (width > G.scr_var.xres) | 264 | if (width > G.scr_var.xres) |
263 | width = G.scr_var.xres; | 265 | width = G.scr_var.xres; |