diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /libmenu/menu_param.c | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) | |
download | mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2 mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
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 9dc69e7d89..529cd49e2f 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(); - + 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_msg(MSGT_OSD_MENU,MSGL_ERR,MSGTR_LIBMENU_SyntaxErrorAtLine,parser->line); asx_parser_free(parser); return -1; - } else if(r == 0) { + } else if(r == 0) { asx_parser_free(parser); if(!m) mp_msg(MSGT_OSD_MENU,MSGL_WARN,MSGTR_LIBMENU_NoEntryFoundInTheMenuDefinition); @@ -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_msg(MSGT_OSD_MENU,MSGL_ERR,MSGTR_LIBMENU_PrefMenuNeedsAnArgument); return 0; } - + menu_list_init(menu); return parse_args(menu,args); } |