Skip to contentSkip to conversation

vl: reformat SDL ifdeffery a bit

PATCH New Michael Tokarev 1 participant 1 message Jun 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 vl.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
vl.c +1 -2
index f94ec9c..8d1f6ab 100644
@@ -3534,12 +3534,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
Signature · 1 line
1.7.10.4