From 40f101962e089210f299a99ac5b1b02750b8502f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 8 Apr 2023 09:07:04 +0800 Subject: Tidy up a bit --- Bootstrap.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Bootstrap.cxx') diff --git a/Bootstrap.cxx b/Bootstrap.cxx index 5d6a2ce..c515e34 100644 --- a/Bootstrap.cxx +++ b/Bootstrap.cxx @@ -3,13 +3,12 @@ #define APPEND_COLORS(A, B) \ colors = toml_array_in(bootstrap, A);\ - if (colors)\ - for (int i = 0; ; i++) {\ - auto color = toml_string_at(colors, i);\ - if (!color.ok) break;\ - B.append(QColor{color.u.s});\ - free(color.u.s);\ - } + if (colors) for (int i = 0; ; i++) {\ + auto color = toml_string_at(colors, i);\ + if (!color.ok) break;\ + B.append(QColor{color.u.s});\ + free(color.u.s);\ + } Bootstrap::Bootstrap(QObject *parent): QObject{parent}, -- cgit v1.2.3