chdman.cpp: Attempted fix for naive code (nw)

This commit is contained in:
AJR 2019-09-06 18:16:36 -04:00
parent 364bc180dd
commit 51f4699fda

View File

@ -2733,7 +2733,7 @@ static void do_add_metadata(parameters_t &params)
{ {
text = *text_str->second; text = *text_str->second;
if (text[0] == '"' && text[text.length() - 1] == '"') if (text[0] == '"' && text[text.length() - 1] == '"')
text.substr(1, text.length() - 2); *text_str->second = text.substr(1, text.length() - 2);
} }
// process file input // process file input