projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda9f32
)
Micro-optimization.
author
ayin
<ayin>
Mon, 26 Nov 2007 10:18:28 +0000
(10:18 +0000)
committer
ayin
<ayin>
Mon, 26 Nov 2007 10:18:28 +0000
(10:18 +0000)
src/main.C
patch
|
blob
|
history
diff --git
a/src/main.C
b/src/main.C
index 066b0b9e5c073086fdfd6e2477cc4186a6f1a555..09c8e00f5e442d101dd25bb3368a041faea3232e 100644
(file)
--- a/
src/main.C
+++ b/
src/main.C
@@
-983,8
+983,7
@@
rxvt_term::set_window_color (int idx, const char *color)
if (i >= 8 && i <= 15)
{
/* bright colors */
- i -= 8;
- pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i];
+ pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i - 8];
goto done;
}