From 1e6d6fbcb695db4a656973956d2c985fde5ac214 Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Sat, 20 Jul 2024 17:12:28 -0300 Subject: [PATCH] these arent used anymore --- loader/CMakeLists.txt | 2 +- loader/src/platform/windows/crashlogWindow.cpp | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index aa886425..51b56ae8 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -335,7 +335,7 @@ if (APPLE) elseif (WIN32) add_subdirectory(launcher/windows) - target_link_libraries(${PROJECT_NAME} dbghelp comctl32 uxtheme winmm) + target_link_libraries(${PROJECT_NAME} dbghelp winmm) target_compile_definitions(${PROJECT_NAME} PUBLIC ISOLATION_AWARE_ENABLED=1) diff --git a/loader/src/platform/windows/crashlogWindow.cpp b/loader/src/platform/windows/crashlogWindow.cpp index 34049348..ff076832 100644 --- a/loader/src/platform/windows/crashlogWindow.cpp +++ b/loader/src/platform/windows/crashlogWindow.cpp @@ -1,9 +1,6 @@ #define ISOLATION_AWARE_ENABLED 1 #include -#include -#include -#include #include #include @@ -72,7 +69,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { ); SendMessage(handleText, WM_SETFONT, WPARAM(monoFont), TRUE); // does nothing :( - Edit_SetEndOfLine(handleText, EC_ENDOFLINE_LF); + // Edit_SetEndOfLine(handleText, EC_ENDOFLINE_LF); auto button = CreateWindowA( "BUTTON", "Close",