[trivial] vl: reformat SDL ifdeffery a bit

Submitted by Michael Tokarev on June 15, 2013, 10:45 a.m.


Message ID 1371293142-28190-1-git-send-email-mjt@msgid.tls.msk.ru
State New
Headers show

Commit Message

Michael Tokarev June 15, 2013, 10:45 a.m.
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 <mjt@tls.msk.ru>
 vl.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/vl.c b/vl.c
index f94ec9c..8d1f6ab 100644
--- a/vl.c
+++ b/vl.c
@@ -3534,12 +3534,11 @@  int main(int argc, char **argv, char **envp)
             case QEMU_OPTION_no_quit:
                 no_quit = 1;
-#ifdef CONFIG_SDL
             case QEMU_OPTION_sdl:
+#ifdef CONFIG_SDL
                 display_type = DT_SDL;
-            case QEMU_OPTION_sdl:
                 fprintf(stderr, "SDL support is disabled\n");