summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/chdman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/chdman.cpp')
-rw-r--r--src/tools/chdman.cpp2
1 files changed, 1 insertions, 1 deletions
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 &params)
{
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