From: Antoine Cellerier Date: Sat, 30 Sep 2006 23:37:47 +0000 (+0000) Subject: Add $_ line skip variable. X-Git-Tag: 0.9.0-test0~10083 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=91e70973f49b390d82a25c3e35e4b59e9d33ccd0;p=vlc Add $_ line skip variable. --- diff --git a/modules/video_filter/marq.c b/modules/video_filter/marq.c index 0ca3cedabf..0e3086a89c 100644 --- a/modules/video_filter/marq.c +++ b/modules/video_filter/marq.c @@ -90,8 +90,8 @@ struct filter_sys_t "$d = description, $e = encoded by, $g = genre, " \ "$l = language, $n = track num, $p = now playing, " \ "$r = rating, $t = title, $u = url, $A = date, " \ - "$D = duration, $F = full name with path, $L = time left " \ - "$N = name, $P = publisher, $T = time) ") + "$D = duration, $F = full name with path, $L = time left, " \ + "$N = name, $P = publisher, $T = time, $_ = new line) ") #define POSX_TEXT N_("X offset") #define POSX_LONGTEXT N_("X offset, from the left screen edge." ) #define POSY_TEXT N_("Y offset") @@ -410,7 +410,10 @@ char *FormatMeta( vlc_object_t *p_object, char *string ) } INSERT_STRING( 1, buf ); break; - + case '_': + *d = '\n'; + d++; + break; default: *d = *s;