[MPlayer-cvslog] r38465 - trunk/gui/dialog/preferences.c

ib subversion at mplayerhq.hu
Sun Apr 21 12:53:05 EEST 2024


Author: ib
Date: Sun Apr 21 12:53:05 2024
New Revision: 38465

Log:
Fix "warning: 'if' clause does not guard statement".

Modified:
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Sun Apr 21 12:51:56 2024	(r38464)
+++ trunk/gui/dialog/preferences.c	Sun Apr 21 12:53:05 2024	(r38465)
@@ -1275,7 +1275,8 @@ void ShowPreferences( void )
   while ( video_out_drivers[i] )
    if ( video_out_drivers[i++]->control( VOCTRL_GUISUPPORT,NULL ) == VO_TRUE )
     {
-     if ( video_driver_list && !gstrcmp( video_driver_list[0],video_out_drivers[i - 1]->info->short_name ) ) old_video_driver=c; c++;
+     if ( video_driver_list && !gstrcmp( video_driver_list[0],video_out_drivers[i - 1]->info->short_name ) ) old_video_driver=c;
+     c++;
      tmp[0]=(char *)video_out_drivers[i - 1]->info->short_name; tmp[1]=(char *)video_out_drivers[i - 1]->info->name;
      gtk_clist_append( GTK_CLIST( CLVDrivers ),tmp );
     }


More information about the MPlayer-cvslog mailing list