diff options
author | Frederic Culot <calcurse@culot.org> | 2007-03-10 15:54:24 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-03-10 15:54:24 +0000 |
commit | f82590c811bcff3f760063859d855865ec083a49 (patch) | |
tree | 832f413d9b32894ec68e01ef2b585b0a2d4e67e3 /src/help.c | |
parent | b1d02bf4ff30bc33645ae5f436afcbec6640efda (diff) | |
download | calcurse-f82590c811bcff3f760063859d855865ec083a49.zip |
global variable 'colr' suppressed
Diffstat (limited to 'src/help.c')
-rwxr-xr-x | src/help.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: help.c,v 1.13 2007/01/16 11:11:47 culot Exp $ */ +/* $calcurse: help.c,v 1.14 2007/03/10 15:55:25 culot Exp $ */ /* * Calcurse - text-based organizer @@ -43,7 +43,8 @@ * Write the desired help text inside the help pad, and return the number * of lines that were written. * */ -int write_help_pad(WINDOW *win, char *title, char *text, int pad_width) +int +write_help_pad(WINDOW *win, char *title, char *text, int pad_width) { int nl_title = 0; int nl_text = 0; @@ -58,7 +59,8 @@ int write_help_pad(WINDOW *win, char *title, char *text, int pad_width) return nl_text + nl_title; } -int get_help_lines(char *text) +int +get_help_lines(char *text) { int i; int nl = 0; @@ -70,7 +72,8 @@ int get_help_lines(char *text) } /* Draws the help screen */ -void help_screen(int which_pan, int colr) +void +help_screen(int which_pan) { WINDOW *help_win = NULL; WINDOW *help_pad = NULL; |