From: ayin Date: Mon, 26 Nov 2007 10:18:28 +0000 (+0000) Subject: Micro-optimization. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=330f76b4f6aae31ed0826a3f3d7c4a02df5a79f2;p=dana%2Furxvt.git Micro-optimization. --- diff --git a/src/main.C b/src/main.C index 066b0b9e..09c8e00f 100644 --- 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; }