mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-23 11:28:42 +08:00
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
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user