[vte/vte-0-36] emulation: Fix standout handling (typo introduced by true color support)
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-36] emulation: Fix standout handling (typo introduced by true color support)
- Date: Mon, 13 Jan 2014 17:16:28 +0000 (UTC)
commit b1a3c3603ce919788e59503ff77ba57116315a76
Author: Egmont Koblinger <egmont gmail com>
Date: Mon Jan 13 18:15:23 2014 +0100
emulation: Fix standout handling (typo introduced by true color support)
src/vte.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 9058af6..a145765 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -9444,7 +9444,7 @@ vte_terminal_determine_colors_internal(VteTerminal *terminal,
/* And standout */
if (cell->attr.standout) {
- if (fore >= VTE_LEGACY_COLORS_OFFSET && back < VTE_LEGACY_COLORS_OFFSET +
VTE_LEGACY_COLOR_SET_SIZE)
+ if (back >= VTE_LEGACY_COLORS_OFFSET && back < VTE_LEGACY_COLORS_OFFSET +
VTE_LEGACY_COLOR_SET_SIZE)
back += VTE_COLOR_BRIGHT_OFFSET;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]