Fix trailing whitespace

develop
Ryan Williams 2022-04-25 00:39:05 -07:00 committed by GitHub
parent a47bf1533e
commit b56d9520e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

@ -1507,7 +1507,7 @@ static const LuaWrapper::FunctionReg dfhack_gui_module[] = {
{ NULL, NULL } { NULL, NULL }
}; };
static int gui_autoDFAnnouncement(lua_State *state) static int gui_autoDFAnnouncement(lua_State *state)
{ {
int rv; int rv;
df::report_init *r = Lua::GetDFObject<df::report_init>(state, 1); df::report_init *r = Lua::GetDFObject<df::report_init>(state, 1);

@ -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) 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 // Reverse-engineered from DF announcement code, also used when scrolling
auto dims = getDwarfmodeViewDims(); 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) void Gui::pauseRecenter(int32_t x, int32_t y, int32_t z, bool pause)
{ {
// Reverse-engineered from DF announcement code // Reverse-engineered from DF announcement code
if (*gamemode != game_mode::DWARF) if (*gamemode != game_mode::DWARF)