[MPlayer-cvslog] r27439 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Fri Aug 8 00:20:54 CEST 2008


Author: eugeni
Date: Fri Aug  8 00:20:54 2008
New Revision: 27439

Log:
Treat \h as space character.

Patch by Robert Rudd (robrudd at users sourceforge net).


Modified:
   trunk/libass/ass_render.c

Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Fri Aug  8 00:20:54 2008
@@ -1072,7 +1072,7 @@ static unsigned get_next_char(char** str
 			p += 2;
 			*str = p;
 			return '\n';
-		} else if (*(p+1) == 'n') {
+		} else if ((*(p+1) == 'n') || (*(p+1) == 'h')) {
 			p += 2;
 			*str = p;
 			return ' ';



More information about the MPlayer-cvslog mailing list