From 2341c900035a5947fea7539c011ff6173ddc80ce Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 19 Apr 2008 21:04:47 +0000 Subject: some memory leaks fixed using valgrind and some minor code cleanup --- src/notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/notify.c') diff --git a/src/notify.c b/src/notify.c index 0634db1..6bc0ddf 100755 --- a/src/notify.c +++ b/src/notify.c @@ -1,4 +1,4 @@ -/* $calcurse: notify.c,v 1.25 2008/04/12 21:14:03 culot Exp $ */ +/* $calcurse: notify.c,v 1.26 2008/04/19 21:05:15 culot Exp $ */ /* * Calcurse - text-based organizer @@ -117,10 +117,10 @@ notify_stop_main_thread (void) * notification window. */ void -notify_reinit_bar (int l, int c, int y, int x) +notify_reinit_bar (void) { delwin (notify->win); - notify->win = newwin (l, c, y, x); + notify->win = newwin (win[NOT].h, win[NOT].w, win[NOT].y, win[NOT].x); } /* Launch user defined command as a notification. */ -- cgit v1.2.3-54-g00ecf