From 423326fc7174b903b8e69ff99306aac24a001747 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 3 Jan 2005 19:14:39 +0000 Subject: [PATCH] another int -> bool conversion git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2220 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/proto.h | 2 +- src/winio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5