aboutsummaryrefslogtreecommitdiffstats
path: root/src/help.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-03-10 15:54:24 +0000
committerFrederic Culot <calcurse@culot.org>2007-03-10 15:54:24 +0000
commitf82590c811bcff3f760063859d855865ec083a49 (patch)
tree832f413d9b32894ec68e01ef2b585b0a2d4e67e3 /src/help.c
parentb1d02bf4ff30bc33645ae5f436afcbec6640efda (diff)
downloadcalcurse-f82590c811bcff3f760063859d855865ec083a49.tar.gz
calcurse-f82590c811bcff3f760063859d855865ec083a49.zip
global variable 'colr' suppressed
Diffstat (limited to 'src/help.c')
-rwxr-xr-xsrc/help.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/help.c b/src/help.c
index d3b32be..56ace36 100755
--- a/src/help.c
+++ b/src/help.c
@@ -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;