Mercurial > mplayer.hg
changeset 19567:1a03b2c8ac28
Ignore '*' at the beginning of style name.
author | eugeni |
---|---|
date | Mon, 28 Aug 2006 16:59:29 +0000 |
parents | 5682e49dffe8 |
children | bd821fd3e244 |
files | libass/ass.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass.c Mon Aug 28 16:43:17 2006 +0000 +++ b/libass/ass.c Mon Aug 28 16:59:29 2006 +0000 @@ -162,6 +162,7 @@ */ static int lookup_style(ass_track_t* track, char* name) { int i; + if (*name == '*') ++name; // FIXME: what does '*' really mean ? for (i=0; i<track->n_styles; ++i) { // FIXME: mb strcasecmp ? if (strcmp(track->styles[i].Name, name) == 0)