diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2013-06-15 14:44:20 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-06-21 22:52:49 +0400 |
commit | 24f6ff863bce236f39ea597206e0a8df2e9537e6 (patch) | |
tree | e5de4e4f9592c074910110aeed86efd0562a71ce /vl.c | |
parent | 576156ffed72ab4feb0b752979db86ff8759a2a1 (diff) | |
download | qemu-24f6ff863bce236f39ea597206e0a8df2e9537e6.tar.gz qemu-24f6ff863bce236f39ea597206e0a8df2e9537e6.tar.bz2 qemu-24f6ff863bce236f39ea597206e0a8df2e9537e6.zip |
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 <mjt@tls.msk.ru>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |