changeset 1574:4190a9e73e35

minor changes according to subtitle positioning
author atlka
date Fri, 17 Aug 2001 11:44:46 +0000
parents c394d04d6b30
children 2766b0d3863d
files libvo/sub.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Fri Aug 17 11:14:57 2001 +0000
+++ b/libvo/sub.c	Fri Aug 17 11:44:46 2001 +0000
@@ -193,10 +193,11 @@
 		 l=0;
 		 break;
 	      } else if(l || j<len){ // not last line or there is no eol
-		 y=vo_font->height;
+		 y=0;
 		 xsize=lastxsize=-vo_font->charspace;
-	      } 
-	      memy-=y;    // according to max of vo_font->pic_a[font]->h 
+		 memy -=vo_font->height;
+	      } else
+	         memy-=y; // according to max of vo_font->pic_a[font]->h 
 	  }		  // in last line
       }
    }