diff --git a/src/winio.c b/src/winio.c
index e079eef36d4013ed102c788855c28cc2233f700f..ee3dea597a071b1b95cfd5b7c267d52589c2b032 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -3984,8 +3984,7 @@ void do_help(void)
  * expect word to have tabs and control characters expanded. */
 void do_replace_highlight(bool highlight_flag, const char *word)
 {
-    size_t y = xplustabs();
-    size_t word_len = strlenpt(word);
+    size_t y = xplustabs(), word_len = strlenpt(word);
 
     y = get_page_start(y) + COLS - y;
 	/* Now y is the number of columns that we can display on this