summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2017-06-13 00:06:04 +0200
committerAaron Marcher <info@nulltime.net>2017-06-13 00:06:04 +0200
commit6034e8355202cf5b96f03d2f76db5fe7f0e11917 (patch)
treec4912a49b2a207459373367a6094e7aa1a61778e /config.def.h
parent801d944661e5ad1a36fcfc23eb48ae5e35a4bdcf (diff)
use a static buffer instead of dynamic memory
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
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]