0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

options/m_config_frontend: remove empty line from --show-profile

Follow-up after 127b6a3455.
This commit is contained in:
Kacper Michajłow 2024-07-25 18:18:27 +02:00
parent 3c7b6db205
commit 77f1083098

View File

@ -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;
}