summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--command.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/command.c b/command.c
index 57e2f7a22a..9110119965 100644
--- a/command.c
+++ b/command.c
@@ -1801,13 +1801,9 @@ static int mp_property_sub_scale(m_option_t * prop, int action, void *arg,
ass_font_scale = *(float *) arg;
ass_force_reload = 1;
}
- else {
#endif
text_font_scale_factor = *(float *) arg;
force_load_font = 1;
-#ifdef USE_ASS
- }
-#endif
return M_PROPERTY_OK;
case M_PROPERTY_STEP_UP:
case M_PROPERTY_STEP_DOWN:
@@ -1818,15 +1814,11 @@ static int mp_property_sub_scale(m_option_t * prop, int action, void *arg,
M_PROPERTY_CLAMP(prop, ass_font_scale);
ass_force_reload = 1;
}
- else {
#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;
-#ifdef USE_ASS
- }
-#endif
return M_PROPERTY_OK;
default:
#ifdef USE_ASS