aboutsummaryrefslogtreecommitdiffstats
path: root/src/wins.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-04-19 21:04:47 +0000
committerFrederic Culot <calcurse@culot.org>2008-04-19 21:04:47 +0000
commit2341c900035a5947fea7539c011ff6173ddc80ce (patch)
treee6dd95431f3797deb00aa178d0d60e61e01b3a17 /src/wins.c
parent2e798df3cb498b0e2150a5c2ace47eb80281237e (diff)
downloadcalcurse-2341c900035a5947fea7539c011ff6173ddc80ce.tar.gz
calcurse-2341c900035a5947fea7539c011ff6173ddc80ce.zip
some memory leaks fixed using valgrind and some minor code cleanup
Diffstat (limited to 'src/wins.c')
-rwxr-xr-xsrc/wins.c8
1 files changed, 4 insertions, 4 deletions
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 ())