projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16409d4
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 14 Apr 2009 12:26:33 +0000
(14:26 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 14 Apr 2009 12:26:33 +0000
(14:26 +0200)
selector.cc
patch
|
blob
|
history
diff --git
a/selector.cc
b/selector.cc
index
e854405
..
36b7b9a
100644
(file)
--- 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);