diff options
author | Frederic Culot <calcurse@culot.org> | 2008-04-19 21:04:47 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-04-19 21:04:47 +0000 |
commit | 2341c900035a5947fea7539c011ff6173ddc80ce (patch) | |
tree | e6dd95431f3797deb00aa178d0d60e61e01b3a17 /src/wins.c | |
parent | 2e798df3cb498b0e2150a5c2ace47eb80281237e (diff) | |
download | calcurse-2341c900035a5947fea7539c011ff6173ddc80ce.zip |
some memory leaks fixed using valgrind and some minor code cleanup
Diffstat (limited to 'src/wins.c')
-rwxr-xr-x | src/wins.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 ()) |