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)