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/wins.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/wins.c') diff --git a/src/wins.c b/src/wins.c index 2d846fb..5cab994 100755 --- a/src/wins.c +++ b/src/wins.c @@ -1,4 +1,4 @@ -/* $calcurse: wins.c,v 1.15 2008/04/19 09:22:14 culot Exp $ */ +/* $calcurse: wins.c,v 1.16 2008/04/19 21:05:15 culot Exp $ */ /* * Calcurse - text-based organizer @@ -196,7 +196,7 @@ wins_reinit (void) wins_get_config (); wins_init (); if (notify_bar ()) - notify_reinit_bar (win[NOT].h, win[NOT].w, win[NOT].y, win[NOT].x); + notify_reinit_bar (); } /* Show the window with a border and a label. */ @@ -419,8 +419,8 @@ wins_update (void) /* NOTREACHED */ } - apoint_update_panel (&win[APP], slctd_win); - todo_update_panel (&win[TOD], slctd_win); + apoint_update_panel (slctd_win); + todo_update_panel (slctd_win); calendar_update_panel (win[CAL].p); status_bar (); if (notify_bar ()) -- cgit v1.2.3-54-g00ecf