diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-20 14:26:38 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-20 14:26:38 +0000 |
commit | d80e0a04b8ca6da02b51b420bb081a4a58949f73 (patch) | |
tree | bd58fe039fd99e14bc4d2f859ed7115411e49cdf /input | |
parent | 3f558f2e9b0a1d6763fb07ef08b082667bc207b6 (diff) |
10L bugs founds by Jindrich Makovicka <makovicki at KMLinux dot fjfi dot cvuti dot cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6758 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 7745eaa1cf..8267227a63 100644 --- a/input/input.c +++ b/input/input.c @@ -446,7 +446,8 @@ mp_input_parse_cmd(char* str) { ptr = strchr(ptr,' '); if(!ptr) break; while(ptr[0] == ' ' || ptr[0] == '\t') ptr++; - if(ptr[0] == '\0') break; + if(ptr[0] == '\0') break; + cmd->args[i].type = cmd_def->args[i].type; switch(cmd_def->args[i].type) { case MP_CMD_ARG_INT: errno = 0; |