From 155c4c3f8e61e716543e11a27a99c1477dea50f7 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 20 Jul 2007 19:14:33 +0000 Subject: custom_load_conf() and erase_window_part() updated to use window_t type --- src/custom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index 6c0cdd1..61f6289 100755 --- a/src/custom.c +++ b/src/custom.c @@ -1,4 +1,4 @@ -/* $calcurse: custom.c,v 1.12 2007/07/01 17:59:14 culot Exp $ */ +/* $calcurse: custom.c,v 1.13 2007/07/20 19:14:33 culot Exp $ */ /* * Calcurse - text-based organizer @@ -102,7 +102,7 @@ custom_remove_attr(WINDOW *win, int attr_num) /* Load the user configuration. */ void -custom_load_conf(conf_t *conf, int background, int nc_bar, int nl_bar) +custom_load_conf(conf_t *conf, int background, window_t *win) { FILE *data_file; char *mesg_line1 = _("Failed to open config file"); @@ -219,7 +219,7 @@ custom_load_conf(conf_t *conf, int background, int nc_bar, int nl_bar) } fclose(data_file); pthread_mutex_unlock(&nbar->mutex); - erase_window_part(swin, 0, 0, nc_bar, nl_bar); + erase_window_part(swin, 0, 0, win->w, win->h); } /* Draws the configuration bar */ -- cgit v1.2.3-54-g00ecf