diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp index 433cb4919..f8707d65c 100644 --- a/src/common/util.cpp +++ b/src/common/util.cpp @@ -1000,13 +1000,13 @@ std::string get_nix_version_display_string() for (char c: val) { if (c == '*') - newval += escape ? "*" : ".*"; + newval += escape ? "*" : ".*", escape = false; else if (c == '?') - newval += escape ? "?" : "."; + newval += escape ? "?" : ".", escape = false; else if (c == '\\') newval += '\\', escape = !escape; else - newval += c; + newval += c, escape = false; } return newval; } |