summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-23 20:18:53 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-23 20:18:53 +0300
commitcad238d30483de885f37019d159b5119edaaa611 (patch)
tree1bfa8142f1fa726958725e16e52c8075d8ef67ef
parent6e140906b916564c97d5c36a18d4cfbd4ecdd65d (diff)
memview: Use FMT(REVERSE) for selections
-rw-r--r--src/memview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memview.c b/src/memview.c
index 59d81c1..e9a9d10 100644
--- a/src/memview.c
+++ b/src/memview.c
@@ -394,7 +394,7 @@ repaint_hexview(const struct named_region *named, const bool update)
}
if (selected)
- screen_format(FMT(BR_BG RED));
+ screen_format(FMT(REVERSE));
else if (changed)
screen_format(FMT(FG RED));
else
@@ -419,7 +419,7 @@ repaint_hexview(const struct named_region *named, const bool update)
const bool changed = (ctx.hexview.memory[0].data[x] != ctx.hexview.memory[1].data[x]);
if (selected)
- screen_format(FMT(BR_BG RED));
+ screen_format(FMT(REVERSE));
else if (changed)
screen_format(FMT(FG RED));
else