[Mplayer-cvslog] CVS: main m_option.c,1.31,1.32
Ivan Kalvachev CVS
syncmail at mplayerhq.hu
Thu Jul 8 02:04:45 CEST 2004
CVS change done by Ivan Kalvachev CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv20171
Modified Files:
m_option.c
Log Message:
make config accept true/false as parameters
Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- m_option.c 25 Jun 2004 17:01:25 -0000 1.31
+++ m_option.c 8 Jul 2004 00:04:42 -0000 1.32
@@ -84,6 +84,7 @@
!strcasecmp(param, "i") ||
!strcasecmp(param, "tak") ||
!strcasecmp(param, "ja") ||
+ !strcasecmp(param, "true") ||
!strcmp(param, "1")) {
if(dst) VAL(dst) = opt->max;
} else if (!strcasecmp(param, "no") ||
@@ -94,6 +95,7 @@
!strcasecmp(param, "n") ||
!strcasecmp(param, "nie") ||
!strcasecmp(param, "nej") ||
+ !strcasecmp(param, "false") ||
!strcmp(param, "0")) {
if(dst) VAL(dst) = opt->min;
} else {
More information about the MPlayer-cvslog
mailing list