summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-09-16 15:25:11 +0000
committerFrederic Culot <calcurse@culot.org>2006-09-16 15:25:11 +0000
commit66ef9b834a67274647e181a0ac30a44cba988b47 (patch)
tree3664f8fa5a99361167b242d8d4f5429f73bfc94a
parent9e7c35ce79e0b98bca656515f8a247f2443f7c80 (diff)
downloadcalcurse-66ef9b834a67274647e181a0ac30a44cba988b47.tar.gz
calcurse-66ef9b834a67274647e181a0ac30a44cba988b47.zip
NOTIFY_FIELD_LENGTH and notify_app_s structure updated
-rwxr-xr-xsrc/notify.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/notify.h b/src/notify.h
index 68e1696..7285712 100755
--- a/src/notify.h
+++ b/src/notify.h
@@ -1,4 +1,4 @@
-/* $calcurse: notify.h,v 1.4 2006/09/15 15:46:09 culot Exp $ */
+/* $calcurse: notify.h,v 1.5 2006/09/16 15:25:11 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -30,10 +30,11 @@
#include <ncurses.h>
#include <pthread.h>
+#include "vars.h"
#include "apoint.h"
#include "recur.h"
-#define NOTIFY_FIELD_LENGTH 20
+#define NOTIFY_FIELD_LENGTH 25
struct notify_vars_s {
WINDOW *win;
@@ -46,8 +47,8 @@ struct notify_vars_s {
struct notify_app_s {
long time;
- char txt[NOTIFY_FIELD_LENGTH];
int got_app;
+ char *txt;
pthread_mutex_t mutex;
};