Mercurial > mplayer.hg
diff parser-mpcmd.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
| author | diego |
|---|---|
| date | Wed, 13 May 2009 02:58:57 +0000 |
| parents | 9e739bdb049c |
| children | 93947ce0e2cb |
line wrap: on
line diff
--- a/parser-mpcmd.c Tue May 12 19:25:35 2009 +0000 +++ b/parser-mpcmd.c Wed May 13 02:58:57 2009 +0000 @@ -56,8 +56,8 @@ 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 @@ mode = GLOBAL; #ifdef CONFIG_MACOSX_FINDER root=macosx_finder_args(config, argc, argv); - if(root) + if(root) return root; #endif @@ -136,7 +136,7 @@ last_parent = last_entry->parent; continue; } - + if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */ { int tmp = 0; @@ -230,12 +230,12 @@ } 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 @@ } else { mp_msg(MSGT_CFGPARSER, MSGL_ERR, MSGTR_InvalidPlayEntry, argv[i]); } - + } else { // dvd:// or dvd://x entry play_tree_add_file(entry,argv[i]); }
