Mercurial > mplayer.hg
comparison m_struct.c @ 23873:49a433e2e78f
cosmetics: misc typo fixes
author | diego |
---|---|
date | Sat, 28 Jul 2007 14:28:38 +0000 |
parents | 2ec2301183cd |
children | cc170348a763 |
comparison
equal
deleted
inserted
replaced
23872:4d936284a5ec | 23873:49a433e2e78f |
---|---|
32 return NULL; | 32 return NULL; |
33 } | 33 } |
34 // Check the struct fields | 34 // Check the struct fields |
35 for(i = 0 ; st->fields[i].name ; i++) { | 35 for(i = 0 ; st->fields[i].name ; i++) { |
36 if(st->fields[i].type->flags & M_OPT_TYPE_INDIRECT) { | 36 if(st->fields[i].type->flags & M_OPT_TYPE_INDIRECT) { |
37 mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s->%s: option type with the indirect flag are forbiden\n",st->name,st->fields[i].name); | 37 mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s->%s: Option types with the indirect flag are forbidden.\n",st->name,st->fields[i].name); |
38 return NULL; | 38 return NULL; |
39 } | 39 } |
40 } | 40 } |
41 | 41 |
42 r = calloc(1,st->size); | 42 r = calloc(1,st->size); |