[MPlayer-cvslog] r20795 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Wed Nov 8 19:57:40 CET 2006
Author: eugeni
Date: Wed Nov 8 19:57:40 2006
New Revision: 20795
Modified:
trunk/libass/ass_render.c
Log:
s/break/continue/. A crazy mistake, somehow unnoticed for more that 2 months.
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Wed Nov 8 19:57:40 2006
@@ -2123,7 +2123,7 @@
// fill used[] with fixed events
for (i = 0; i < cnt; ++i) {
render_priv_t* priv;
- if (!imgs[i].detect_collisions) break;
+ if (!imgs[i].detect_collisions) continue;
priv = get_render_priv(imgs[i].event);
if (priv->height > 0) { // it's a fixed event
segment_t s;
@@ -2152,7 +2152,7 @@
// try to fit other events in free spaces
for (i = 0; i < cnt; ++i) {
render_priv_t* priv;
- if (!imgs[i].detect_collisions) break;
+ if (!imgs[i].detect_collisions) continue;
priv = get_render_priv(imgs[i].event);
if (priv->height == 0) { // not a fixed event
int shift;
More information about the MPlayer-cvslog
mailing list