From b24e8a3b456024b7c1b19be5d3f13155aa5b3f95 Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Mon, 18 Jul 2022 19:20:07 -0400 Subject: [PATCH] Address rando pr comments (#742) * prefix randomizer methods with Randomizer_ * make filename a local var * remove unused file, update malon to use new names * move randomizertypes to randomizer directory * rename to Randomizer_GetSettingValue Co-authored-by: briaguya --- libultraship/Lib/Fast3D/gfx_dxgi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libultraship/Lib/Fast3D/gfx_dxgi.cpp b/libultraship/Lib/Fast3D/gfx_dxgi.cpp index 620fb527143..6e0c2e4d6dd 100644 --- a/libultraship/Lib/Fast3D/gfx_dxgi.cpp +++ b/libultraship/Lib/Fast3D/gfx_dxgi.cpp @@ -229,9 +229,8 @@ static void onkeyup(WPARAM w_param, LPARAM l_param) { } } -char fileName[256]; - static LRESULT CALLBACK gfx_dxgi_wnd_proc(HWND h_wnd, UINT message, WPARAM w_param, LPARAM l_param) { + char fileName[256]; SohImGui::EventImpl event_impl; event_impl.win32 = { h_wnd, static_cast(message), static_cast(w_param), static_cast(l_param) }; SohImGui::Update(event_impl);