changeset 16834:40571f977b95

The conditions for bottom (2) and top (1) subtitle alignment are reversed. patch by Paul TT < paultt == at -- hackerjournal == dot -- it >
author diego
date Sun, 23 Oct 2005 14:25:56 +0000
parents df868a664d0c
children 527c1561a0ad
files libvo/sub.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Sun Oct 23 13:55:23 2005 +0000
+++ b/libvo/sub.c	Sun Oct 23 14:25:56 2005 +0000
@@ -627,7 +627,7 @@
     }
     /// vertical alignment
     h = dys - obj->y;
-    if (sub_alignment == 2)
+    if (sub_alignment == 0)
         obj->y = dys * sub_pos / 100 - h;
     else if (sub_alignment == 1)
         obj->y = dys * sub_pos / 100 - h / 2;