[MPlayer-cvslog] r36342 - trunk/libvo/matrixview.c

reimar subversion at mplayerhq.hu
Wed Jun 12 20:54:21 CEST 2013


Author: reimar
Date: Wed Jun 12 20:54:20 2013
New Revision: 36342

Log:
Remove a special-case that doesn't really make much
of a visual difference.

Modified:
   trunk/libvo/matrixview.c

Modified: trunk/libvo/matrixview.c
==============================================================================
--- trunk/libvo/matrixview.c	Wed Jun 12 20:54:19 2013	(r36341)
+++ trunk/libvo/matrixview.c	Wed Jun 12 20:54:20 2013	(r36342)
@@ -145,8 +145,8 @@ static void draw_text(const uint8_t *pic
                 bump_pic[p] = Z_Depth;
             }
 
-            if (text[p] && c > 10)
-                draw_char(text[p] + 1, c, x, y, text_depth[p] + bump_pic[p]);
+            if (c > 10)
+                draw_char(text[p], c, x, y, text_depth[p] + bump_pic[p]);
 
             if (text_depth[p] < 0.1)
                 text_depth[p] = 0;
@@ -154,7 +154,7 @@ static void draw_text(const uint8_t *pic
                 text_depth[p] /= 1.1;
 
             if (text_light[p] > 128 && text_light[p + text_x] < 10)
-                draw_illuminatedchar(text[p] + 1, x, y,
+                draw_illuminatedchar(text[p], x, y,
                                      text_depth[p] + bump_pic[p]);
 
             p++;


More information about the MPlayer-cvslog mailing list