summaryrefslogtreecommitdiff
path: root/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'option.cc')
-rw-r--r--option.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/option.cc b/option.cc
index b34a972b..b04865bc 100644
--- a/option.cc
+++ b/option.cc
@@ -155,9 +155,9 @@ void process_environment(std::list<option_t>& options,
*q && *q != '=' && r - buf < 128;
q++)
if (*q == '_')
- *r++ += '-';
+ *r++ = '-';
else
- *r++ += std::tolower(*q);
+ *r++ = std::tolower(*q);
*r = '\0';
if (*q == '=')