[vlc-commits] STL: fix support of line breaks

Jean-Baptiste Kempf git at videolan.org
Tue Mar 4 13:28:52 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar  4 13:28:20 2014 +0100| [138470090c89a5d186c3f279e723f02d237d8e68] | committer: Jean-Baptiste Kempf

STL: fix support of line breaks

Ref #9833

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=138470090c89a5d186c3f279e723f02d237d8e68
---

 modules/codec/stl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/stl.c b/modules/codec/stl.c
index 7fd822d..dd72b4c 100644
--- a/modules/codec/stl.c
+++ b/modules/codec/stl.c
@@ -103,9 +103,9 @@ static char *ParseText(uint8_t *data, int size, const char *charset)
             snprintf(tmp, sizeof(tmp), "<u>");
         else if (code == 0x83)
             snprintf(tmp, sizeof(tmp), "</u>");
+#endif
         else if (code == 0x8a)
             snprintf(tmp, sizeof(tmp), "\n");
-#endif
         else {
             t = NULL;
         }



More information about the vlc-commits mailing list