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 /parser-mpcmd.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 'parser-mpcmd.c')
-rw-r--r-- | parser-mpcmd.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/parser-mpcmd.c b/parser-mpcmd.c index 045ca35613..ed1dbf29ce 100644 --- a/parser-mpcmd.c +++ b/parser-mpcmd.c @@ -56,8 +56,8 @@ static int is_entry_option(char *opt, char *param, play_tree_t** ret) { static inline void add_entry(play_tree_t **last_parentp, play_tree_t **last_entryp, play_tree_t *entry) { if(*last_entryp == NULL) - play_tree_set_child(*last_parentp,entry); - else + play_tree_set_child(*last_parentp,entry); + else play_tree_append_entry(*last_entryp,entry); *last_entryp = entry; } @@ -88,7 +88,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) mode = GLOBAL; #ifdef CONFIG_MACOSX_FINDER root=macosx_finder_args(config, argc, argv); - if(root) + if(root) return root; #endif @@ -136,7 +136,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) last_parent = last_entry->parent; continue; } - + if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */ { int tmp = 0; @@ -230,12 +230,12 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) } else { end_title=strtol(splitpos+1,NULL,10); } - - if (dvd_range(start_title) && dvd_range(end_title) && (start_title<end_title)) + + if (dvd_range(start_title) && dvd_range(end_title) && (start_title<end_title)) { for (j=start_title;j<=end_title;j++) { - if (j!=start_title) + if (j!=start_title) entry=play_tree_new(); snprintf(entbuf,9,"dvd://%d",j); play_tree_add_file(entry,entbuf); @@ -245,7 +245,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) } else { mp_msg(MSGT_CFGPARSER, MSGL_ERR, MSGTR_InvalidPlayEntry, argv[i]); } - + } else { // dvd:// or dvd://x entry play_tree_add_file(entry,argv[i]); } |