From ad857c89df31f336d271ad7d4e33fade6da087d1 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 12 Apr 2025 17:51:27 -0700 Subject: charts: make VWM_JUSTIFY_CENTER the default Particularly with designated struct initializers it's particularly convenient to have the default value the zero value, since you get that for free via silent omission. Preparatory commit for row-columns specifying their justification. --- src/charts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charts.c b/src/charts.c index 7b80331..1186af9 100644 --- a/src/charts.c +++ b/src/charts.c @@ -95,9 +95,9 @@ typedef enum _vwm_side_t { /* how to horizontally justify contents within a given column's area */ typedef enum _vwm_justify_t { + VWM_JUSTIFY_CENTER, VWM_JUSTIFY_LEFT, VWM_JUSTIFY_RIGHT, - VWM_JUSTIFY_CENTER, VWM_JUSTIFY_CNT } vwm_justify_t; -- cgit v1.2.3