From 22696110b10e6e80e62b05ca133bb5c8ea015b01 Mon Sep 17 00:00:00 2001 From: system64fumo Date: Fri, 23 Aug 2024 00:50:45 +0300 Subject: [PATCH] clang format --- src/debug/HyprCtl.cpp | 4 ++-- src/helpers/MiscFunctions.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 21232a96..f9403c6b 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -932,9 +932,9 @@ std::string systemInfoRequest(eHyprCtlOutputFormat format, std::string request) close(fd); throw std::runtime_error("Failed to get DRM version"); } - const std::string name = version->name ? version->name : "Unknown"; + const std::string name = version->name ? version->name : "Unknown"; const std::string description = version->desc ? version->desc : "Unknown"; - std::string GPUINFO = "GPU information:\n"; + std::string GPUINFO = "GPU information:\n"; GPUINFO += "GPU Type: " + name + "\n"; GPUINFO += "Driver Description: " + description + "\n"; diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index a4dfcc0a..e469301e 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -620,9 +620,9 @@ void logSystemInfo() { close(fd); throw std::runtime_error("Failed to get DRM version"); } - const std::string name = version->name ? version->name : "Unknown"; + const std::string name = version->name ? version->name : "Unknown"; const std::string description = version->desc ? version->desc : "Unknown"; - std::string GPUINFO; + std::string GPUINFO; GPUINFO += "GPU Type: " + name + "\n"; GPUINFO += "Driver Description: " + description + "\n";