changeset 21098:90ed81455c5c

Cosmetics: remove unneeded curly brackets.
author eugeni
date Mon, 20 Nov 2006 17:13:19 +0000
parents 77316737de63
children 7901c90ac6ac
files libass/ass_render.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Mon Nov 20 17:10:18 2006 +0000
+++ b/libass/ass_render.c	Mon Nov 20 17:13:19 2006 +0000
@@ -2082,19 +2082,18 @@
 	int i;
 	int shift = 0;
 
-	if (dir == 1) { // move down
+	if (dir == 1) // move down
 		for (i = 0; i < *cnt; ++i) {
 			if (s->b + shift <= fixed[i].a || s->a + shift >= fixed[i].b)
 				continue;
 			shift = fixed[i].b - s->a;
 		}
-	} else { // dir == -1, move up
+	else // dir == -1, move up
 		for (i = *cnt-1; i >= 0; --i) {
 			if (s->b + shift <= fixed[i].a || s->a + shift >= fixed[i].b)
 				continue;
 			shift = fixed[i].a - s->b;
 		}
-	}
 
 	fixed[*cnt].a = s->a + shift;
 	fixed[*cnt].b = s->b + shift;