From 1140f3cae38881d57158aa92f5fec60db28db0c3 Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 15 Feb 2021 15:38:41 -0800 Subject: [PATCH] Fix brace style of Graphics::reloadresources() It should be next-line brace, not same-line brace. Even in a codebase that uses same-line braces everywhere, I still prefer having next-line braces inside functions (because they're at the top level, and you can't next them). But regardless, this should still be next-line brace like (most of) the rest of the codebase. --- desktop_version/src/Graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 3124b6b3..422ec395 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -3145,7 +3145,8 @@ bool Graphics::onscreen(int t) return (t >= -40 && t <= 280); } -void Graphics::reloadresources() { +void Graphics::reloadresources() +{ grphx.destroy(); grphx = GraphicsResources(); grphx.init();