[MPlayer-cvslog] r34683 - in trunk/gui: cfg.c win32/wincfg.c
ib
subversion at mplayerhq.hu
Fri Feb 10 16:24:28 CET 2012
Author: ib
Date: Fri Feb 10 16:24:27 2012
New Revision: 34683
Log:
Simplify character array definition.
Modified:
trunk/gui/cfg.c
trunk/gui/win32/wincfg.c
Modified: trunk/gui/cfg.c
==============================================================================
--- trunk/gui/cfg.c Fri Feb 10 16:06:59 2012 (r34682)
+++ trunk/gui/cfg.c Fri Feb 10 16:24:27 2012 (r34683)
@@ -370,7 +370,7 @@ void cfg_write(void)
}
if (val) {
- char delim[] = { "\"" };
+ char delim[] = "\"";
if (!strchr(val, ' '))
*delim = 0;
Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c Fri Feb 10 16:06:59 2012 (r34682)
+++ trunk/gui/win32/wincfg.c Fri Feb 10 16:24:27 2012 (r34683)
@@ -128,7 +128,7 @@ void cfg_write(void)
}
if(v)
{
- char delim[] = {"\""};
+ char delim[] = "\"";
if (!strchr(val, ' ')) *delim = 0;
More information about the MPlayer-cvslog
mailing list