summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/command.c b/command.c
index 9110119965..d6082a5ad3 100644
--- a/command.c
+++ b/command.c
@@ -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