summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-02 18:33:51 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-02 18:33:51 +0000
commite6206f4e1ce194899f67b65a45c72538e3807c64 (patch)
tree6e10e4dcdbae03ded3c51a483ac32f2ca5115619
parent19e596920ddfca6c8e0f13789ddac9b848a1bf81 (diff)
downloadmpv-e6206f4e1ce194899f67b65a45c72538e3807c64.tar.bz2
mpv-e6206f4e1ce194899f67b65a45c72538e3807c64.tar.xz
Remove some unused code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19642 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libass/ass_render.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 277a51d0c9..53ef9b222d 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -1331,7 +1331,6 @@ static void wrap_lines_smart(int max_text_width)
s1 = s2;
s2 = s3;
s3 = cur;
-// printf("line: %d, %d, %d \n", s1 - text_info.glyphs, s2 - text_info.glyphs, s3 - text_info.glyphs);
if (s1 && (s2->linebreak == 1)) { // have at least 2 lines, and linebreak is 'soft'
int l1, l2, l1_new, l2_new;
@@ -1342,9 +1341,6 @@ static void wrap_lines_smart(int max_text_width)
do { --e1; } while ((e1 > s1) && (e1->symbol == ' '));
if (w->symbol == ' ') ++w;
-// printf("check: %d, %d, %d, w: %d, e: %d \n", s1 - text_info.glyphs, s2 - text_info.glyphs, s3 - text_info.glyphs,
-// w - text_info.glyphs, e1 - text_info.glyphs);
-
l1 = ((s2-1)->bbox.xMax + (s2-1)->pos.x) - (s1->bbox.xMin + s1->pos.x);
l2 = ((s3-1)->bbox.xMax + (s3-1)->pos.x) - (s2->bbox.xMin + s2->pos.x);
l1_new = (e1->bbox.xMax + e1->pos.x) - (s1->bbox.xMin + s1->pos.x);
@@ -1400,7 +1396,6 @@ static void wrap_lines_smart(int max_text_width)
cur->pos.x += pen_shift_x;
cur->pos.y += pen_shift_y;
}
-// printf("============= \n");
}
/**