diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /libmenu/menu_param.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'libmenu/menu_param.c')
-rw-r--r-- | libmenu/menu_param.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmenu/menu_param.c b/libmenu/menu_param.c index 7e3a4f1a1c..5052a26954 100644 --- a/libmenu/menu_param.c +++ b/libmenu/menu_param.c @@ -60,7 +60,7 @@ struct menu_priv_s { char* na; int hide_na; }; - + static struct menu_priv_s cfg_dflt = { MENU_LIST_PRIV_DFLT, NULL, @@ -112,7 +112,7 @@ static int parse_args(menu_t* menu,char* args) { int r; m_option_t* opt; ASX_Parser_t* parser = asx_parser_new(menu->mconfig); - + while(1) { r = asx_get_element(parser,&args,&element,&body,&attribs); @@ -120,7 +120,7 @@ static int parse_args(menu_t* menu,char* args) { mp_tmsg(MSGT_OSD_MENU,MSGL_ERR,"[MENU] syntax error at line: %d\n",parser->line); asx_parser_free(parser); return -1; - } else if(r == 0) { + } else if(r == 0) { asx_parser_free(parser); if(!m) mp_tmsg(MSGT_OSD_MENU,MSGL_WARN,"[MENU] No entry found in the menu definition.\n"); @@ -200,7 +200,7 @@ static void read_cmd(menu_t* menu,int cmd) { if(mp_property_do(e->prop,M_PROPERTY_STEP_DOWN,NULL,menu->ctx) > 0) update_entries(menu, 0); return; - + case MENU_CMD_OK: // check that the property is writable if(mp_property_do(e->prop,M_PROPERTY_SET,NULL,menu->ctx) < 0) return; @@ -281,7 +281,7 @@ static int openMenu(menu_t* menu, char* args) { mp_tmsg(MSGT_OSD_MENU,MSGL_ERR,"[MENU] Pref menu needs an argument.\n"); return 0; } - + menu_list_init(menu); return parse_args(menu,args); } |