summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2025-04-12 17:51:27 -0700
committerVito Caputo <vcaputo@pengaru.com>2025-04-19 13:11:33 -0700
commitad857c89df31f336d271ad7d4e33fade6da087d1 (patch)
tree983dfae47b5a2d3de58e637e9c31081440ccf29c
parentddb66fd132f12956dbe92bc0e4753d6a912f7b6c (diff)
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.
-rw-r--r--src/charts.c2
1 files changed, 1 insertions, 1 deletions
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;
© All Rights Reserved