From 597cdc6b5c6ae4508861bb1122c05acd5850198c Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Tue, 13 Jun 2017 00:06:04 +0200 Subject: use a static buffer instead of dynamic memory --- config.def.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index be60df8..a961dbc 100644 --- a/config.def.h +++ b/config.def.h @@ -4,7 +4,10 @@ #define UPDATE_INTERVAL 1 /* text to show if no value can be retrieved */ -#define UNKNOWN_STR "n/a" +#define UNKNOWN_STR "n/a" + +/* maximum output string length */ +#define MAXLEN 2048 /* statusbar - battery_perc (battery percentage) [argument: battery name] -- cgit v1.2.3