1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 14:20:55 +00:00

Cosmetics: fix indentation after last commit.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19925 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2006-09-21 22:37:42 +00:00
parent a7e1afc5b3
commit 4a09756828

View File

@ -571,19 +571,19 @@ static void change_border(double border)
int b; int b;
if (!render_context.face) return; if (!render_context.face) return;
if (border < 0) { if (border < 0) {
if (render_context.style->BorderStyle == 1) { if (render_context.style->BorderStyle == 1) {
if (render_context.style->Outline == 0 && render_context.style->Shadow > 0) if (render_context.style->Outline == 0 && render_context.style->Shadow > 0)
border = 1.;
else
border = render_context.style->Outline;
} else
border = 1.; border = 1.;
} else
render_context.border = border; border = render_context.style->Outline;
} else
border = 1.;
}
render_context.border = border;
b = 64 * border * frame_context.border_scale; b = 64 * border * frame_context.border_scale;
if (b > 0) { if (b > 0) {
if (!render_context.stroker) { if (!render_context.stroker) {
int error; int error;
#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1)) #if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1))
@ -598,13 +598,13 @@ static void change_border(double border)
} }
if (render_context.stroker) if (render_context.stroker)
FT_Stroker_Set( render_context.stroker, b, FT_Stroker_Set( render_context.stroker, b,
FT_STROKER_LINECAP_ROUND, FT_STROKER_LINECAP_ROUND,
FT_STROKER_LINEJOIN_ROUND, FT_STROKER_LINEJOIN_ROUND,
0 ); 0 );
} else { } else {
FT_Stroker_Done(render_context.stroker); FT_Stroker_Done(render_context.stroker);
render_context.stroker = 0; render_context.stroker = 0;
} }
} }
#define _r(c) ((c)>>24) #define _r(c) ((c)>>24)