From 276fc764b27af2aa036a1194b9f7b4f21f0f8b26 Mon Sep 17 00:00:00 2001 From: emerycp Date: Wed, 2 Aug 2023 08:40:16 -0400 Subject: [PATCH] NK-92 PR Comments --- Editor/src/Windows/FileSystemUI.cpp | 2 -- Nuake/src/Core/String.cpp | 3 ++- Nuake/src/Window.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index 6093e641..713d3a83 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -384,7 +384,6 @@ namespace Nuake ImGui::Text(file->GetName().c_str()); ImGui::PopFont(); - } bool Splitter(bool split_vertically, float thickness, float* size1, float* size2, float min_size1, float min_size2, float splitter_long_axis_size = -1.0f) @@ -610,7 +609,6 @@ namespace Nuake ImGui::SameLine(); ImGui::Text("/"); } - ImGui::EndChild(); ImGui::PopStyleVar(); diff --git a/Nuake/src/Core/String.cpp b/Nuake/src/Core/String.cpp index cd68caf7..db6be8a3 100644 --- a/Nuake/src/Core/String.cpp +++ b/Nuake/src/Core/String.cpp @@ -37,7 +37,8 @@ namespace Nuake return result; } - std::string String::Sanitize(const std::string& keyword) { + std::string String::Sanitize(const std::string& keyword) + { std::string sanitizedKeyword = keyword; // Remove spaces, underscores, and hyphens using regex diff --git a/Nuake/src/Window.cpp b/Nuake/src/Window.cpp index 97f38215..5bc39d31 100644 --- a/Nuake/src/Window.cpp +++ b/Nuake/src/Window.cpp @@ -248,7 +248,7 @@ namespace Nuake void Window::SetVSync(bool enabled) { - glfwSwapInterval(enabled ? 1: 0); + glfwSwapInterval(enabled ? 1 : 0); } void Window::SetDecorated(bool enabled)