mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +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:
parent
a7e1afc5b3
commit
4a09756828
@ -571,19 +571,19 @@ static void change_border(double border)
|
||||
int b;
|
||||
if (!render_context.face) 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 (border < 0) {
|
||||
if (render_context.style->BorderStyle == 1) {
|
||||
if (render_context.style->Outline == 0 && render_context.style->Shadow > 0)
|
||||
border = 1.;
|
||||
}
|
||||
render_context.border = border;
|
||||
else
|
||||
border = render_context.style->Outline;
|
||||
} else
|
||||
border = 1.;
|
||||
}
|
||||
render_context.border = border;
|
||||
|
||||
b = 64 * border * frame_context.border_scale;
|
||||
if (b > 0) {
|
||||
b = 64 * border * frame_context.border_scale;
|
||||
if (b > 0) {
|
||||
if (!render_context.stroker) {
|
||||
int error;
|
||||
#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1))
|
||||
@ -598,13 +598,13 @@ static void change_border(double border)
|
||||
}
|
||||
if (render_context.stroker)
|
||||
FT_Stroker_Set( render_context.stroker, b,
|
||||
FT_STROKER_LINECAP_ROUND,
|
||||
FT_STROKER_LINEJOIN_ROUND,
|
||||
0 );
|
||||
} else {
|
||||
FT_Stroker_Done(render_context.stroker);
|
||||
render_context.stroker = 0;
|
||||
}
|
||||
FT_STROKER_LINECAP_ROUND,
|
||||
FT_STROKER_LINEJOIN_ROUND,
|
||||
0 );
|
||||
} else {
|
||||
FT_Stroker_Done(render_context.stroker);
|
||||
render_context.stroker = 0;
|
||||
}
|
||||
}
|
||||
|
||||
#define _r(c) ((c)>>24)
|
||||
|
Loading…
Reference in New Issue
Block a user