summaryrefslogtreecommitdiffstats
path: root/m_config.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-28 10:14:42 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-28 10:14:42 +0000
commit2f7192222a67e3a601e54b10a6e426781366bcd4 (patch)
treeb9cf3acc52b2f2efbdbd170e311aed66c5cc4565 /m_config.c
parentf63b46fa2502817b16e8566b60e0db4789602c4e (diff)
downloadmpv-2f7192222a67e3a601e54b10a6e426781366bcd4.tar.bz2
mpv-2f7192222a67e3a601e54b10a6e426781366bcd4.tar.xz
Fix some typos in comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23888 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_config.c')
-rw-r--r--m_config.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/m_config.c b/m_config.c
index feab9537e6..6c08956d96 100644
--- a/m_config.c
+++ b/m_config.c
@@ -204,7 +204,7 @@ m_config_add_option(m_config_t *config, m_option_t *arg, char* prefix) {
} else
co->name = arg->name;
- // Option with childs -> add them
+ // Option with children -> add them
if(arg->type->flags & M_OPT_TYPE_HAS_CHILD) {
m_option_t *ol = arg->p;
int i;
@@ -213,7 +213,7 @@ m_config_add_option(m_config_t *config, m_option_t *arg, char* prefix) {
m_config_add_option(config,&ol[i], co->name);
} else {
m_config_option_t *i;
- // Check if there is alredy an option pointing to this address
+ // Check if there is already an option pointing to this address
if(arg->p) {
for(i = config->opts ; i ; i = i->next ) {
if(i->opt->p == arg->p) { // So we don't save the same vars more than 1 time
@@ -227,7 +227,7 @@ m_config_add_option(m_config_t *config, m_option_t *arg, char* prefix) {
// Allocate a slot for the defaults
sl = calloc(1,sizeof(m_config_save_slot_t) + arg->type->size);
m_option_save(arg,sl->data,(void**)arg->p);
- // Hack to avoid too much trouble with dynamicly allocated data :
+ // Hack to avoid too much trouble with dynamically allocated data :
// We always use a dynamic version
if((arg->type->flags & M_OPT_TYPE_DYNAMIC) && arg->p && (*(void**)arg->p)) {
*(void**)arg->p = NULL;
@@ -299,7 +299,7 @@ m_config_parse_option(m_config_t *config, char* arg, char* param,int set) {
assert(co->opt->type->parse);
#endif
- // Check if this option isn't forbiden in the current mode
+ // Check if this option isn't forbidden in the current mode
if((config->mode == M_CONFIG_FILE) && (co->opt->flags & M_OPT_NOCFG)) {
mp_msg(MSGT_CFGPARSER, MSGL_ERR,MSGTR_InvalidCfgfileOption,arg);
return M_OPT_INVALID;
@@ -309,7 +309,7 @@ m_config_parse_option(m_config_t *config, char* arg, char* param,int set) {
return M_OPT_INVALID;
}
- // Option with childs are a bit different to parse
+ // Option with children are a bit different to parse
if(co->opt->type->flags & M_OPT_TYPE_HAS_CHILD) {
char** lst = NULL;
int i,sr;