Mercurial > mplayer.hg
changeset 8275:1fb6b78d62d6
10l my last fix choked the last command definition, this fix seems to work correct.
author | atmos4 |
---|---|
date | Mon, 25 Nov 2002 14:17:15 +0000 |
parents | be311f828476 |
children | f9c18cda60b2 |
files | input/input.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/input/input.c Mon Nov 25 13:28:40 2002 +0000 +++ b/input/input.c Mon Nov 25 14:17:15 2002 +0000 @@ -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++; }