X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/4b4b2ac0790a51ea624397f829f29ed92e82fd53..96334e2079c0a4607aaa1ba78a7d633fa257ecc2:/config.def.h?ds=sidebyside diff --git a/config.def.h b/config.def.h index ed339ed..1797a9b 100644 --- a/config.def.h +++ b/config.def.h @@ -1,10 +1,10 @@ /* See LICENSE file for copyright and license details. */ /* how often to update the statusbar (min value == 1) */ -#define UPDATE_INTERVAL 1 +static const int update_interval = 1; /* 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