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/custom.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index ea65fba..a0465de 100755 --- a/src/custom.c +++ b/src/custom.c @@ -1,4 +1,4 @@ -/* $calcurse: custom.c,v 1.21 2008/04/19 09:22:14 culot Exp $ */ +/* $calcurse: custom.c,v 1.22 2008/04/19 21:05:15 culot Exp $ */ /* * Calcurse - text-based organizer @@ -423,7 +423,7 @@ custom_confwin_init (window_t *confwin, char *label) keypad (win[STA].p, TRUE); if (notify_bar ()) { - notify_reinit_bar (win[NOT].h, win[NOT].w, win[NOT].y, win[NOT].x); + notify_reinit_bar (); notify_update_bar (); } } @@ -827,8 +827,7 @@ custom_general_config (conf_t *conf) keypad (win[STA].p, TRUE); if (notify_bar ()) { - notify_reinit_bar (win[NOT].h, win[NOT].w, win[NOT].y, - win[NOT].x); + notify_reinit_bar (); notify_update_bar (); } break; -- cgit v1.2.3