diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-23 22:23:07 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-23 22:26:05 +0200 |
commit | f5efea85a6874e4dcb206f91cedf29ef3d56f06b (patch) | |
tree | f678e72cb80226f178ef89a9faf52166701a64cf /src/notify.c | |
parent | 7fa1f0e2aa70a610d6de76e2194857b2ddc36b18 (diff) | |
parent | b4cefe2db9d45dfba9bfd633288a406a8ad2a4c3 (diff) | |
download | calcurse-f5efea85a6874e4dcb206f91cedf29ef3d56f06b.zip |
Merge branch 'maint'
Conflicts:
src/io.c
src/notify.c
src/utils.c
Diffstat (limited to 'src/notify.c')
-rw-r--r-- | src/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.c b/src/notify.c index 2be4571..c746f49 100644 --- a/src/notify.c +++ b/src/notify.c @@ -716,7 +716,7 @@ void notify_config_bar(void) case '4': status_mesg(count_str, ""); pthread_mutex_lock(&nbar.mutex); - printf(buf, "%d", nbar.cntdwn); + snprintf(buf, BUFSIZ, "%d", nbar.cntdwn); pthread_mutex_unlock(&nbar.mutex); if (updatestring(win[STA].p, &buf, 0, 1) == 0 && is_all_digit(buf) && atoi(buf) >= 0 && atoi(buf) <= DAYINSEC) { |