From 451a320920c6e2f60445938aa98d4fe817c3d36a Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 15 Sep 2026 15:52:47 +0200 Subject: formatting: run codebase through new .clang-format --- analyzer/render.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'analyzer/render.h') diff --git a/analyzer/render.h b/analyzer/render.h index 7ad2e92..6c9f844 100644 --- a/analyzer/render.h +++ b/analyzer/render.h @@ -1,9 +1,9 @@ // render.h // functions for "rendering" data onto the terminal +#include "analyzer.h" #include "parser/fight_results/fight_results.h" #include "utils/memory.h" -#include "analyzer.h" // ANSI escape sequence colors #define COLOR_GOLD 33 @@ -46,7 +46,9 @@ inline static size_t sum_col_widths() { return sum; } -#define TABLE_LINE_WIDTH (TABLE_LINE_START_WIDTH + sum_col_widths() + (ARR_LEN(columns) - 1) * TABLE_LINE_SEPARATOR_WIDTH + TABLE_LINE_END_WIDTH) +#define TABLE_LINE_WIDTH \ + (TABLE_LINE_START_WIDTH + sum_col_widths() + \ + (ARR_LEN(columns) - 1) * TABLE_LINE_SEPARATOR_WIDTH + TABLE_LINE_END_WIDTH) #define TABLE_ITEMS_WIDTH (TABLE_LINE_WIDTH - TABLE_LINE_START_WIDTH - TABLE_LINE_END_WIDTH) -- cgit v1.2.3