# HG changeset patch # User eugeni # Date 1235775994 0 # Node ID e758bf5350ee9f44cf67dc501325c44e33ae50e4 # Parent 108abf7064d36c5f93908c2551caf769b89f8f69 Allow shadow without border. Patch by Grigori G (greg chown ath cx). diff -r 108abf7064d3 -r e758bf5350ee libass/ass_render.c --- a/libass/ass_render.c Fri Feb 27 22:23:20 2009 +0000 +++ b/libass/ass_render.c Fri Feb 27 23:06:34 2009 +0000 @@ -581,12 +581,9 @@ if (!render_context.font) return; if (border < 0) { - if (render_context.style->BorderStyle == 1) { - if (render_context.style->Outline == 0 && render_context.style->Shadow > 0) - border = 1.; - else - border = render_context.style->Outline; - } else + if (render_context.style->BorderStyle == 1) + border = render_context.style->Outline; + else border = 1.; } render_context.border = border;