From: David Lawrence Ramsey Date: Mon, 3 Jan 2005 19:14:39 +0000 (+0000) Subject: another int -> bool conversion X-Git-Tag: v1.3.6~182 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=423326fc7174b903b8e69ff99306aac24a001747;p=nano.git another int -> bool conversion git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2220 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/proto.h b/src/proto.h index 330685f1..bd6fd72a 100644 --- a/src/proto.h +++ b/src/proto.h @@ -644,7 +644,7 @@ void do_cursorpos_void(void); int help_line_len(const char *ptr); void do_help(void); #endif -void do_replace_highlight(int highlight_flag, const char *word); +void do_replace_highlight(bool highlight_flag, const char *word); #ifdef DEBUG void dump_buffer(const filestruct *inptr); void dump_buffer_reverse(void); diff --git a/src/winio.c b/src/winio.c index 1378d3a5..79e2f16e 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3976,7 +3976,7 @@ void do_help(void) /* Highlight the current word being replaced or spell checked. We * expect word to have tabs and control characters expanded. */ -void do_replace_highlight(int highlight_flag, const char *word) +void do_replace_highlight(bool highlight_flag, const char *word) { size_t y = xplustabs(); size_t word_len = strlen(word);