]> granicus.if.org Git - libass/commitdiff
Fix a wrong condition.
authorXidorn Quan <quanxunzhen@gmail.com>
Wed, 21 Nov 2012 12:26:17 +0000 (20:26 +0800)
committerGrigori Goronzy <greg@monster>
Fri, 14 Dec 2012 22:17:59 +0000 (23:17 +0100)
libass/ass_parse.c

index 3966a4326a1bdc935480fe8240b12e1b11a4b5a4..8fa1689ef9c19d601f64dca9ae297f9cae42059a 100644 (file)
@@ -241,7 +241,7 @@ static char *parse_vector_clip(ASS_Renderer *render_priv, char *p)
     drawing->scale = scale;
     drawing->scale_x = render_priv->font_scale_x * render_priv->font_scale;
     drawing->scale_y = render_priv->font_scale;
-    while (*p != ')' && *p != '}' && p != 0)
+    while (*p != ')' && *p != '}' && *p != 0)
         ass_drawing_add_char(drawing, *p++);
     skipopt(')');