From 7a7573dd2cd455de9e1848cfe56775de7b7d4d2b Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 14 Apr 2009 14:26:33 +0200 Subject: [PATCH] Cosmetics. --- selector.cc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/selector.cc b/selector.cc index e854405..36b7b9a 100644 --- a/selector.cc +++ b/selector.cc @@ -502,12 +502,19 @@ void update_screen(int *current_line, int *temporary_line, int motion, addstr(" "); } - if(use_regexp) { - addstr(" [regexp]"); - } + if(use_regexp || case_sensitive) { + addstr("["); + if(use_regexp) { + addstr("regexp"); + } - if(case_sensitive) { - addstr(" [case]"); + if(case_sensitive) { + if(use_regexp) { + addstr(" "); + } + addstr("case"); + } + addstr("]"); } move(0, cursor_x); -- 2.39.5