[Mplayer-cvslog] CVS: main/input input.c,1.59,1.60
Atmosfear
atmos4 at mplayerhq.hu
Mon Nov 25 15:17:37 CET 2002
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv20862/input
Modified Files:
input.c
Log Message:
10l my last fix choked the last command definition, this fix seems to work correct.
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- input.c 25 Nov 2002 13:28:40 -0000 1.59
+++ input.c 25 Nov 2002 14:17:15 -0000 1.60
@@ -1247,7 +1247,7 @@
}
}
// Empty buffer : return
- if(eof || (bs <= 0)) {
+ if(bs <= 1) {
mp_msg(MSGT_INPUT,MSGL_INFO,"Input config file %s parsed : %d binds\n",file,n_binds);
if(binds)
cmd_binds = binds;
@@ -1351,7 +1351,7 @@
char cmd[end-iter+1];
strncpy(cmd,iter,end-iter);
cmd[end-iter] = '\0';
- //printf("Set bind %d => %s\n",code,cmd);
+ //printf("Set bind %d => %s\n",keys[0],cmd);
mp_input_bind_keys(keys,cmd);
n_binds++;
}
More information about the MPlayer-cvslog
mailing list