mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Binpack function arguments together
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead. Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
committed by
Hielke Morsink
parent
95ce592579
commit
b02dfdbc93
@@ -298,12 +298,7 @@ void InGameConsole::Draw(rct_drawpixelinfo* dpi) const
|
||||
gfx_fill_rect_inset(
|
||||
dpi, _consoleLeft, _consoleTop, _consoleRight, _consoleBottom, backgroundColour, INSET_RECT_FLAG_FILL_NONE);
|
||||
gfx_fill_rect_inset(
|
||||
dpi,
|
||||
_consoleLeft + 1,
|
||||
_consoleTop + 1,
|
||||
_consoleRight - 1,
|
||||
_consoleBottom - 1,
|
||||
backgroundColour,
|
||||
dpi, _consoleLeft + 1, _consoleTop + 1, _consoleRight - 1, _consoleBottom - 1, backgroundColour,
|
||||
INSET_RECT_FLAG_BORDER_INSET);
|
||||
|
||||
std::string lineBuffer;
|
||||
|
||||
Reference in New Issue
Block a user