Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Fix a little logic error
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
ed339ed
..
0699351
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-1,10
+1,10
@@
/* See LICENSE file for copyright and license details. */
/* See LICENSE file for copyright and license details. */
-/*
how often to update the statusbar (min value == 1
) */
-#define UPDATE_INTERVAL 1
+/*
interval between updates (in ms
) */
+static const int interval = 1000;
/* text to show if no value can be retrieved */
/* text to show if no value can be retrieved */
-#define UNKNOWN_STR "n/a"
+static const char unknown_str[] = "n/a";
/* maximum output string length */
#define MAXLEN 2048
/* maximum output string length */
#define MAXLEN 2048