changeset 36839:8474d0444828

Cosmetic: Reformat and adjust indent.
author ib
date Tue, 25 Feb 2014 13:19:53 +0000
parents 7df9dd22f234
children 511047e8e0a2
files gui/win32/preferences.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/preferences.c	Tue Feb 25 13:16:35 2014 +0000
+++ b/gui/win32/preferences.c	Tue Feb 25 13:19:53 2014 +0000
@@ -362,8 +362,9 @@
             while(video_out_drivers[i])
             {
                 const vo_info_t *info = video_out_drivers[i++]->info;
-                if(!video_driver_list) listSet(&video_driver_list, (char *)info->short_name);
-                    SendDlgItemMessage(hwnd, ID_VO_DRIVER, CB_ADDSTRING, 0, (LPARAM) info->short_name);
+                if(!video_driver_list)
+                    listSet(&video_driver_list, (char *)info->short_name);
+                SendDlgItemMessage(hwnd, ID_VO_DRIVER, CB_ADDSTRING, 0, (LPARAM) info->short_name);
             }
             /* Special case for directx:noaccel */
             SendDlgItemMessage(hwnd, ID_VO_DRIVER, CB_ADDSTRING, 0, (LPARAM) "directx:noaccel");