# HG changeset patch # User eugeni # Date 1156784369 0 # Node ID 1a03b2c8ac28bc33f527e54ce8e751050319da00 # Parent 5682e49dffe86b5c65bda9483b1440ee549d15f9 Ignore '*' at the beginning of style name. diff -r 5682e49dffe8 -r 1a03b2c8ac28 libass/ass.c --- 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; in_styles; ++i) { // FIXME: mb strcasecmp ? if (strcmp(track->styles[i].Name, name) == 0)