diff options
| author | iamcheeseman <[hidden email]> | 2026-03-02 19:34:00 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-03-02 19:34:00 -0500 |
| commit | e8364fc209280180e64bf9cfce13f9bb71af7f6c (patch) | |
| tree | ebedaf4a67ff0f4f421ff859101e40a9effbe8ab /src/bardata.h | |
| parent | bc7a3fa5770ad43c0715a5a78afbf9a1a9fedbb5 (diff) | |
End text with an ellipse if it goes above the limit
Diffstat (limited to 'src/bardata.h')
| -rw-r--r-- | src/bardata.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
