From 2009c678677e910927db34b62d25231b8dbf4fe5 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Sun, 25 Jan 2015 16:22:13 +0300 Subject: commands/splash: fix '-y' option handling The '-y' and '-o' options are independent, so just add missing 'break'. Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- commands/splash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/splash.c b/commands/splash.c index 9bd84fbb2b..077c0e4b03 100644 --- a/commands/splash.c +++ b/commands/splash.c @@ -41,6 +41,7 @@ static int do_splash(int argc, char *argv[]) break; case 'y': s.y = simple_strtoul(optarg, NULL, 0); + break; case 'o': offscreen = 1; } -- cgit v1.2.3