diff options
author | Aaron Marcher <info@nulltime.net> | 2017-06-13 00:06:04 +0200 |
---|---|---|
committer | Aaron Marcher <info@nulltime.net> | 2017-06-13 00:06:04 +0200 |
commit | 597cdc6b5c6ae4508861bb1122c05acd5850198c (patch) | |
tree | c4912a49b2a207459373367a6094e7aa1a61778e /config.def.h | |
parent | abbaa7af4401bbece8c9a9cb27408a0c84421762 (diff) |
use a static buffer instead of dynamic memory
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 5 |
1 files changed, 4 insertions, 1 deletions
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] |