summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 18:57:40 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 18:57:40 +0000
commit60d29dbd7134bf31db0403b3dc2cabe21e9569ee (patch)
treebe2c49c524d92fe3f5fe3496a1695f355f928a08 /libass
parent59c8e9e6b2b442d3115f2fd386ada6b5f75f3672 (diff)
downloadmpv-60d29dbd7134bf31db0403b3dc2cabe21e9569ee.tar.bz2
mpv-60d29dbd7134bf31db0403b3dc2cabe21e9569ee.tar.xz
s/break/continue/. A crazy mistake, somehow unnoticed for more that 2 months.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20795 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 0b447196e7..614b4c1518 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -2123,7 +2123,7 @@ static void fix_collisions(event_images_t* imgs, int cnt)
// 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 @@ static void fix_collisions(event_images_t* imgs, int cnt)
// 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;