changeset 16838:fb79161e09f4

reverse incorrect sub alignment change, ok'd by diego
author rfelker
date Sun, 23 Oct 2005 15:34:39 +0000
parents 098d3c815fe2
children 1b1b59b160ab
files libvo/sub.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Sun Oct 23 15:25:10 2005 +0000
+++ b/libvo/sub.c	Sun Oct 23 15:34:39 2005 +0000
@@ -627,7 +627,7 @@
     }
     /// vertical alignment
     h = dys - obj->y;
-    if (sub_alignment == 0)
+    if (sub_alignment == 2)
         obj->y = dys * sub_pos / 100 - h;
     else if (sub_alignment == 1)
         obj->y = dys * sub_pos / 100 - h / 2;