commit 423326fc7174b903b8e69ff99306aac24a001747
parent 956da0d0e12f470b1cb7f04e02380ecb0d54eb4e
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 3 Jan 2005 19:14:39 +0000
another int -> bool conversion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2220 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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);