From 7ca6aa4ad078f566629a36f4b754576e7b4ed70e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 1 Dec 2014 15:30:24 +0100 Subject: options: fix swapped deprecated/replacement in warning This was relevant for --af and --vo (both use this option type, and have deprecated aliases). --- options/m_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') diff --git a/options/m_option.c b/options/m_option.c index ce86db0696..8044376f07 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -2620,7 +2620,7 @@ static int parse_obj_settings(struct mp_log *log, struct bstr opt, if (m_obj_list_find(&desc, list, str)) { if (desc.replaced_name) mp_warn(log, "Driver '%s' has been replaced with '%s'!\n", - desc.name, desc.replaced_name); + desc.replaced_name, desc.name); } else { if (!list->allow_unknown_entries) { mp_err(log, "Option %.*s: %.*s doesn't exist.\n", -- cgit v1.2.3