summaryrefslogtreecommitdiff
path: root/zen/sys_version.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-04-03 09:56:38 -0400
committerB. Stack <bgstack15@gmail.com>2023-04-03 09:56:38 -0400
commit765e1bb3bdeb5c49f08543c20206e55c772e6b80 (patch)
tree920f288910890016e540213fe65f2d6f38aa82be /zen/sys_version.cpp
parentadd upstream 12.1 (diff)
downloadFreeFileSync-765e1bb3bdeb5c49f08543c20206e55c772e6b80.tar.gz
FreeFileSync-765e1bb3bdeb5c49f08543c20206e55c772e6b80.tar.bz2
FreeFileSync-765e1bb3bdeb5c49f08543c20206e55c772e6b80.zip
add upstream 12.212.2
Diffstat (limited to 'zen/sys_version.cpp')
-rw-r--r--zen/sys_version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/sys_version.cpp b/zen/sys_version.cpp
index b123ba07..e57c9b69 100644
--- a/zen/sys_version.cpp
+++ b/zen/sys_version.cpp
@@ -55,8 +55,8 @@ OsVersionDetail zen::getOsVersionDetail() //throw SysError
osVersion = utfTo<std::wstring>(afterFirst(line, '=', IfNotFoundReturn::none));
//PRETTY_NAME? too wordy! e.g. "Fedora 17 (Beefy Miracle)"
});
- trim(osName, true, true, [](char c) { return c == L'"' || c == L'\''; });
- trim(osVersion, true, true, [](char c) { return c == L'"' || c == L'\''; });
+ trim(osName, TrimSide::both, [](char c) { return c == L'"' || c == L'\''; });
+ trim(osVersion, TrimSide::both, [](char c) { return c == L'"' || c == L'\''; });
}
if (osName.empty())
bgstack15