[MPlayer-cvslog] r33167 - in trunk: DOCS/xml/de/skin.xml DOCS/xml/en/skin.xml gui/util/string.c

ib subversion at mplayerhq.hu
Thu Mar 31 12:13:47 CEST 2011


Author: ib
Date: Thu Mar 31 12:13:47 2011
New Revision: 33167

Log:
Allow number sign as comment character.

This is practice in some skins and should not lead to an error message
now that unknown items are reported.

Update documentation.

Modified:
   trunk/gui/util/string.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/xml/de/skin.xml
   trunk/DOCS/xml/en/skin.xml

Modified: trunk/gui/util/string.c
==============================================================================
--- trunk/gui/util/string.c	Thu Mar 31 11:38:03 2011	(r33166)
+++ trunk/gui/util/string.c	Thu Mar 31 12:13:47 2011	(r33167)
@@ -75,6 +75,9 @@ char *decomment(char *in)
 
     p = in;
 
+    if (*p == '#')
+        *p = 0;
+
     while (*p) {
         if (*p == '"')
             nap = !nap;


More information about the MPlayer-cvslog mailing list