[Mplayer-cvslog] CVS: main/input input.c,1.10,1.11
    Alban Bedel CVS 
    albeu at mplayer.dev.hu
       
    Sat Feb 23 23:43:27 CET 2002
    
        - Previous message: [Mplayer-cvslog] CVS: main/libmpdemux stream.h,1.32,1.33 network.c,1.38,1.39 cache2.c,1.10,1.11 Makefile,1.21,1.22
- Next message: [Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.79,1.80
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /cvsroot/mplayer/main/input
In directory mplayer:/var/tmp.root/cvs-serv24262/input
Modified Files:
	input.c 
Log Message:
Also use tab as cmd arg sepparator
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- input.c	23 Feb 2002 21:13:35 -0000	1.10
+++ input.c	23 Feb 2002 22:43:25 -0000	1.11
@@ -363,7 +363,7 @@
   for(i=0; ptr && i < MP_CMD_MAX_ARGS; i++) {
     ptr = strchr(ptr,' ');
     if(!ptr) break;
-    while(ptr[0] == ' ') ptr++;
+    while(ptr[0] == ' ' || ptr[0] == '\t') ptr++;
     if(ptr[0] == '\0') break;	
     switch(cmd_def->args[i].type) {
     case MP_CMD_ARG_INT:
@@ -960,7 +960,7 @@
 	cmd_binds = binds;
       return 1;
     }
-    
+
     iter = buffer;
 
     if(comments) {
    
    
        
	- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux stream.h,1.32,1.33 network.c,1.38,1.39 cache2.c,1.10,1.11 Makefile,1.21,1.22
- Next message: [Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.79,1.80
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the MPlayer-cvslog
mailing list