changeset 2205:b6cd2fea7385

corrected previous error ;-(
author atlka
date Mon, 15 Oct 2001 08:16:54 +0000
parents 28901a4122c8
children 0e8e8fed492e
files libvo/sub.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Mon Oct 15 06:14:55 2001 +0000
+++ b/libvo/sub.c	Mon Oct 15 08:16:54 2001 +0000
@@ -185,6 +185,7 @@
 	      }
 	      if (k==MAX_UCS){
 		 len=j; // end here
+		 printf ("\nMAX_UCS exceeded!\n");
 	      }
 	      if (!c) c++; // avoid UCS 0
 	      if (c==' '){
@@ -211,7 +212,7 @@
 	      } else if (j<len)
 		   continue;
 	      if (h>memy){ // out of the screen so end parsing
-		 h -=lasth - vo_font->height; // correct the y position
+		 memy -= lasth - vo_font->height; // correct the y position
 		 l=0;
 		 break;
 	      }