From: Michael Tokarev Date: Sat, 15 Jun 2013 10:44:20 +0000 (+0400) Subject: vl: reformat SDL ifdeffery a bit X-Git-Tag: v1.6.0-rc0~184^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24f6ff863bce236f39ea597206e0a8df2e9537e6;p=thirdparty%2Fqemu.git vl: reformat SDL ifdeffery a bit This reformats #ifdef..#endif and case statement a bit, to make it a bit shorter and matching other cases like that (no code changes). Signed-off-by: Michael Tokarev --- diff --git a/vl.c b/vl.c index 767e0204db8..0a8f056cc26 100644 --- a/vl.c +++ b/vl.c @@ -3472,12 +3472,11 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_no_quit: no_quit = 1; break; -#ifdef CONFIG_SDL case QEMU_OPTION_sdl: +#ifdef CONFIG_SDL display_type = DT_SDL; break; #else - case QEMU_OPTION_sdl: fprintf(stderr, "SDL support is disabled\n"); exit(1); #endif