summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-09-06 18:16:36 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-09-06 18:16:36 -0400
commit51f4699fdac6a205d3a86a8a18fa483b9aa47650 (patch)
tree934622c56aa4279f1ddf8f016a2af7ce1197ddb3 /src/tools
parent364bc180ddf6d32a5dbecb9d89cc217f1ccd87a0 (diff)
chdman.cpp: Attempted fix for naive code (nw)
Diffstat (limited to 'src/tools')
-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