summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-12 12:04:40 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-12 12:04:40 +0000
commit5b6fefd246000d8eaa9b3090b22db08395e0957b (patch)
tree44d2800866ca8f28a069406dc7da4fb423358c25 /input/input.c
parent615d23453adcb45ca7d18c490e0d974fd6dca662 (diff)
downloadmpv-5b6fefd246000d8eaa9b3090b22db08395e0957b.tar.bz2
mpv-5b6fefd246000d8eaa9b3090b22db08395e0957b.tar.xz
lexical fixes (COSMETIC :)) and one 'real fix': grap_frames -> grab_frames -- feel free to flame and reverse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5054 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/input/input.c b/input/input.c
index 1fe49dc453..74d17d9242 100644
--- a/input/input.c
+++ b/input/input.c
@@ -36,7 +36,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },
{ MP_CMD_QUIT, "quit", 0, { {-1,{0}} } },
{ MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } },
- { MP_CMD_GRAB_FRAMES, "grap_frames",0, { {-1,{0}} } },
+ { MP_CMD_GRAB_FRAMES, "grab_frames",0, { {-1,{0}} } },
{ MP_CMD_PLAY_TREE_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } },
{ MP_CMD_PLAY_TREE_UP_STEP, "pt_up_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
{ MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
@@ -423,7 +423,7 @@ mp_input_parse_cmd(char* str) {
case -1:
ptr = NULL;
default :
- printf("Unknow argument %d\n",i);
+ printf("Unknown argument %d\n",i);
}
}
cmd->nargs = i;
@@ -555,7 +555,7 @@ static mp_cmd_t*
mp_input_get_cmd_from_keys(int n,int* keys, int paused) {
char* cmd = NULL;
mp_cmd_t* ret;
- // In pause mode we return pause for the first key wich come
+ // In pause mode we return pause for the first key which come
if(paused)
return mp_input_parse_cmd("pause");
@@ -668,7 +668,7 @@ mp_input_read_keys(int time,int paused) {
continue;
}
code &= ~MP_KEY_DOWN;
- // Check if we don't alredy have this key as pushed
+ // Check if we don't already have this key as pushed
for(j = 0; j < num_key_down; j++) {
if(key_down[j] == code)
break;
@@ -682,7 +682,7 @@ mp_input_read_keys(int time,int paused) {
continue;
}
// key released
- // Check if the key is in the down key, driver wich can't send push event
+ // Check if the key is in the down key, driver which can't send push event
// send only release event
for(j = 0; j < num_key_down; j++) {
if(key_down[j] == code)
@@ -1072,7 +1072,7 @@ mp_input_parse_config(char *file) {
// Find the wanted key
if(keys[0] == 0) {
- // Jump beginnig space
+ // Jump beginning space
for( ; iter[0] != '\0' && strchr(SPACE_CHAR,iter[0]) != NULL ; iter++)
/* NOTHING */;
if(iter[0] == '\0') { // Buffer was full of space char
@@ -1104,7 +1104,7 @@ mp_input_parse_config(char *file) {
strncpy(name,iter,end-iter);
name[end-iter] = '\0';
if(! mp_input_get_input_from_name(name,keys)) {
- printf("Unknow key '%s'\n",name);
+ printf("Unknown key '%s'\n",name);
mp_input_free_binds(binds);
return 0;
}