[MPlayer-cvslog] r34714 - trunk/gui/win32/wincfg.c

ib subversion at mplayerhq.hu
Mon Feb 13 16:48:12 CET 2012


Author: ib
Date: Mon Feb 13 16:48:12 2012
New Revision: 34714

Log:
Fix two copy-and-paste errors in the Win32 GUI.

Reported by Stephen Sheldon, sfsheldo gmail com.

Modified:
   trunk/gui/win32/wincfg.c

Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c	Mon Feb 13 15:12:54 2012	(r34713)
+++ trunk/gui/win32/wincfg.c	Mon Feb 13 16:48:12 2012	(r34714)
@@ -130,9 +130,9 @@ void cfg_write(void)
             {
                 char delim[] = "\"";
 
-                if (!strchr(val, ' ')) *delim = 0;
+                if (!strchr(v, ' ')) *delim = 0;
 
-                fprintf(f, "%s=%s%s%s\n", gui_opts[i].name, v);
+                fprintf(f, "%s=%s%s%s\n", gui_opts[i].name, delim, v, delim);
                 free(v);
             }
         }


More information about the MPlayer-cvslog mailing list