mirror of https://github.com/mpv-player/mpv
options/m_config_frontend: remove empty line from --show-profile
Follow-up after 127b6a3455
.
This commit is contained in:
parent
3c7b6db205
commit
77f1083098
|
@ -79,7 +79,6 @@ static void list_profiles(struct m_config *config)
|
|||
MP_INFO(config, "Available profiles:\n");
|
||||
for (struct m_profile *p = config->profiles; p; p = p->next)
|
||||
MP_INFO(config, "\t%s\t%s\n", p->name, p->desc ? p->desc : "");
|
||||
MP_INFO(config, "\n");
|
||||
}
|
||||
|
||||
static int show_profile(struct m_config *config, bstr param)
|
||||
|
@ -120,8 +119,6 @@ static int show_profile(struct m_config *config, bstr param)
|
|||
}
|
||||
}
|
||||
config->profile_depth--;
|
||||
if (!config->profile_depth)
|
||||
MP_INFO(config, "\n");
|
||||
return M_OPT_EXIT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue