summaryrefslogtreecommitdiff
path: root/libs/pbd/epa.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/epa.cc')
-rw-r--r--libs/pbd/epa.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/epa.cc b/libs/pbd/epa.cc
index cfc5692138..4af2029308 100644
--- a/libs/pbd/epa.cc
+++ b/libs/pbd/epa.cc
@@ -144,12 +144,12 @@ EnvironmentalProtectionAgency::clear () const
for (vector<string>::const_iterator e = ecopy.begin(); e != ecopy.end(); ++e) {
string::size_type equal = (*e).find_first_of ('=');
-
+
if (equal == string::npos) {
/* say what? an environ value without = ? */
continue;
}
-
+
string var_name = (*e).substr (0, equal);
g_unsetenv(var_name.c_str());
}