0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

reindent after r25881

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25882 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2008-01-27 15:32:09 +00:00
parent 073360b3a4
commit 0728cf9637

View File

@ -1802,8 +1802,8 @@ static int mp_property_sub_scale(m_option_t * prop, int action, void *arg,
ass_force_reload = 1;
}
#endif
text_font_scale_factor = *(float *) arg;
force_load_font = 1;
text_font_scale_factor = *(float *) arg;
force_load_font = 1;
return M_PROPERTY_OK;
case M_PROPERTY_STEP_UP:
case M_PROPERTY_STEP_DOWN:
@ -1815,10 +1815,10 @@ static int mp_property_sub_scale(m_option_t * prop, int action, void *arg,
ass_force_reload = 1;
}
#endif
text_font_scale_factor += (arg ? *(float *) arg : 0.1)*
(action == M_PROPERTY_STEP_UP ? 1.0 : -1.0);
M_PROPERTY_CLAMP(prop, text_font_scale_factor);
force_load_font = 1;
text_font_scale_factor += (arg ? *(float *) arg : 0.1)*
(action == M_PROPERTY_STEP_UP ? 1.0 : -1.0);
M_PROPERTY_CLAMP(prop, text_font_scale_factor);
force_load_font = 1;
return M_PROPERTY_OK;
default:
#ifdef USE_ASS