From 51f4699fdac6a205d3a86a8a18fa483b9aa47650 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 6 Sep 2019 18:16:36 -0400 Subject: chdman.cpp: Attempted fix for naive code (nw) --- src/tools/chdman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp index cf15580df1d..153a4e34157 100644 --- a/src/tools/chdman.cpp +++ b/src/tools/chdman.cpp @@ -2733,7 +2733,7 @@ static void do_add_metadata(parameters_t ¶ms) { text = *text_str->second; 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 -- cgit v1.2.3