[MPlayer-cvslog] r37169 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Thu Apr 24 14:58:40 CEST 2014


Author: ib
Date: Thu Apr 24 14:58:40 2014
New Revision: 37169

Log:
Fix bug in r37165.

The incrementation has got lost there.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Apr 24 14:50:14 2014	(r37168)
+++ trunk/gui/interface.c	Thu Apr 24 14:58:40 2014	(r37169)
@@ -281,7 +281,7 @@ static void add_vf(const char *vf)
         int i = 0;
 
         while (vf_settings[i].name) {
-            if (strcmp(vf_settings[i].name, vf) == 0) {
+            if (strcmp(vf_settings[i++].name, vf) == 0) {
                 i = -1;
                 break;
             }


More information about the MPlayer-cvslog mailing list