diff options
author | elfmz <fenix1905@tut.by> | 2022-10-30 23:37:24 +0300 |
---|---|---|
committer | elfmz <fenix1905@tut.by> | 2022-10-30 23:37:24 +0300 |
commit | 59efd1d81e2359e9c2406236d240f2451609ca1b (patch) | |
tree | 74cec133edf33aa7fd8e25d9012beb2fc420c378 /far2l/src/mix | |
parent | f0dc969e1d9006c5120ccbd6d26c9b80bc60e077 (diff) |
unescape strings parsed from mtab file (touch #1381)
Diffstat (limited to 'far2l/src/mix')
-rw-r--r-- | far2l/src/mix/MountInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/far2l/src/mix/MountInfo.cpp b/far2l/src/mix/MountInfo.cpp index b04a730d..f33b0cea 100644 --- a/far2l/src/mix/MountInfo.cpp +++ b/far2l/src/mix/MountInfo.cpp @@ -218,6 +218,9 @@ MountInfo::MountInfo(bool for_location_menu) while (std::getline(is, line)) { parts.clear(); StrExplode(parts, line, " \t"); + for (auto &part : parts) { + Environment::UnescapeCLikeSequences(part); + } if (parts.size() > 1 && StrStartsFrom(parts[1], "/") && (!for_location_menu || !lme.Match(parts[1].c_str()))) { bool multi_thread_friendly; |