summaryrefslogtreecommitdiff
path: root/src/desktop/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r--src/desktop/Window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp
index 29a41976..8dcfc397 100644
--- a/src/desktop/Window.cpp
+++ b/src/desktop/Window.cpp
@@ -1258,8 +1258,8 @@ std::unordered_map<std::string, std::string> CWindow::getEnv() {
std::unordered_map<std::string, std::string> results;
//
- std::string environFile = "/proc/" + std::to_string(PID) + "/environ";
- std::ifstream ifs(environFile, std::ios::binary);
+ std::string environFile = "/proc/" + std::to_string(PID) + "/environ";
+ std::ifstream ifs(environFile, std::ios::binary);
if (!ifs.good())
return {};