From 29611bc7ead4d3d5fc9df63c04dd9e2577805557 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 15 Feb 2009 22:34:41 +0000 Subject: SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: sfx dir svn-id: r38322 --- engines/sci/sfx/pcm_device/pcm_devices.cpp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'engines/sci/sfx/pcm_device/pcm_devices.cpp') diff --git a/engines/sci/sfx/pcm_device/pcm_devices.cpp b/engines/sci/sfx/pcm_device/pcm_devices.cpp index 09e20bb07b..b8e5b51b39 100644 --- a/engines/sci/sfx/pcm_device/pcm_devices.cpp +++ b/engines/sci/sfx/pcm_device/pcm_devices.cpp @@ -39,16 +39,16 @@ extern sfx_pcm_device_t sfx_pcm_driver_dc; sfx_pcm_device_t *pcmout_drivers[] = { #ifndef NO_PCMOUT #ifdef SCUMMVM - &sfx_pcm_driver_scummvm, + &sfx_pcm_driver_scummvm, #else // SCUMMVM # ifdef HAVE_SDL - &sfx_pcm_driver_sdl, + &sfx_pcm_driver_sdl, # endif # ifdef HAVE_ALSA - &sfx_pcm_driver_alsa, + &sfx_pcm_driver_alsa, # endif # ifdef __DC__ - &sfx_pcm_driver_dc, + &sfx_pcm_driver_dc, # endif #endif // SCUMMVM #endif @@ -56,18 +56,17 @@ sfx_pcm_device_t *pcmout_drivers[] = { }; sfx_pcm_device_t * -sfx_pcm_find_device(char *name) -{ - int retval = 0; +sfx_pcm_find_device(char *name) { + int retval = 0; - if (!name) { /* Find default driver */ - return pcmout_drivers[0]; - } + if (!name) { /* Find default driver */ + return pcmout_drivers[0]; + } - while (pcmout_drivers[retval] && - strcasecmp(name, pcmout_drivers[retval]->name)) - retval++; + while (pcmout_drivers[retval] && + strcasecmp(name, pcmout_drivers[retval]->name)) + retval++; - return pcmout_drivers[retval]; + return pcmout_drivers[retval]; } -- cgit v1.2.3