aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-03-08 17:40:23 +0000
committerVaxry <[email protected]>2024-03-08 17:40:28 +0000
commit0a4ade01d35abb4506da77cc64ab93e0c5c34dbd (patch)
tree24276b12225fd1c13c0978e333c731d4509545b7
parent5920c6a6b8d059413377f0cb25f3dfb1dc8c4201 (diff)
downloadHyprland-0a4ade01d35abb4506da77cc64ab93e0c5c34dbd.tar.gz
Hyprland-0a4ade01d35abb4506da77cc64ab93e0c5c34dbd.zip
format: make ci happy
-rw-r--r--src/helpers/MiscFunctions.cpp4
-rw-r--r--src/plugins/PluginAPI.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp
index 860d8456..2b83832c 100644
--- a/src/helpers/MiscFunctions.cpp
+++ b/src/helpers/MiscFunctions.cpp
@@ -649,8 +649,8 @@ int64_t getPPIDof(int64_t pid) {
return 0;
#else
- std::string dir = "/proc/" + std::to_string(pid) + "/status";
- FILE* infile;
+ std::string dir = "/proc/" + std::to_string(pid) + "/status";
+ FILE* infile;
infile = fopen(dir.c_str(), "r");
if (!infile)
diff --git a/src/plugins/PluginAPI.cpp b/src/plugins/PluginAPI.cpp
index b6326960..494aa640 100644
--- a/src/plugins/PluginAPI.cpp
+++ b/src/plugins/PluginAPI.cpp
@@ -296,7 +296,7 @@ APICALL std::vector<SFunctionMatch> HyprlandAPI::findFunctionsByName(HANDLE hand
const auto FPATH = std::filesystem::canonical(exe);
#elif defined(__OpenBSD__)
// Neither KERN_PROC_PATHNAME nor /proc are supported
- const auto FPATH = std::filesystem::canonical("/usr/local/bin/Hyprland");
+ const auto FPATH = std::filesystem::canonical("/usr/local/bin/Hyprland");
#else
const auto FPATH = std::filesystem::canonical("/proc/self/exe");
#endif