From e8364fc209280180e64bf9cfce13f9bb71af7f6c Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Mon, 2 Mar 2026 19:34:00 -0500 Subject: End text with an ellipse if it goes above the limit --- src/bardata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bardata.h') diff --git a/src/bardata.h b/src/bardata.h index bfab709..3ad4c46 100644 --- a/src/bardata.h +++ b/src/bardata.h @@ -7,6 +7,8 @@ #include "pipe.h" +#define MAX_COMP_DATA 64 + typedef XftColor color_t; typedef enum { @@ -17,7 +19,7 @@ typedef enum { typedef struct { char name[16]; - char data[64]; + char data[MAX_COMP_DATA]; int flags; int margin_left; int margin_right; -- cgit v1.3-2-g0d8e