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/custom.c | |
parent | 2e798df3cb498b0e2150a5c2ace47eb80281237e (diff) | |
download | calcurse-2341c900035a5947fea7539c011ff6173ddc80ce.zip |
some memory leaks fixed using valgrind and some minor code cleanup
Diffstat (limited to 'src/custom.c')
-rwxr-xr-x | src/custom.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; |