From b56d9520e9ac34855a1dea1b4196ff7e07bb3404 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 25 Apr 2022 00:39:05 -0700 Subject: [PATCH] Fix trailing whitespace --- library/LuaApi.cpp | 2 +- library/modules/Gui.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index fcdd96cbf..16bef7fc7 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -1507,7 +1507,7 @@ static const LuaWrapper::FunctionReg dfhack_gui_module[] = { { NULL, NULL } }; -static int gui_autoDFAnnouncement(lua_State *state) +static int gui_autoDFAnnouncement(lua_State *state) { int rv; df::report_init *r = Lua::GetDFObject(state, 1); diff --git a/library/modules/Gui.cpp b/library/modules/Gui.cpp index e6b865df0..ceea6251d 100644 --- a/library/modules/Gui.cpp +++ b/library/modules/Gui.cpp @@ -1991,7 +1991,7 @@ df::coord Gui::getCursorPos() } void Gui::recenterViewscreen(int32_t x, int32_t y, int32_t z, df::report_zoom_type zoom) -{ +{ // Reverse-engineered from DF announcement code, also used when scrolling auto dims = getDwarfmodeViewDims(); @@ -2032,7 +2032,7 @@ void Gui::recenterViewscreen(int32_t x, int32_t y, int32_t z, df::report_zoom_ty } void Gui::pauseRecenter(int32_t x, int32_t y, int32_t z, bool pause) -{ +{ // Reverse-engineered from DF announcement code if (*gamemode != game_mode::DWARF)