From: ayin Date: Mon, 26 Nov 2007 10:33:36 +0000 (+0000) Subject: Cleanup. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8fd54e7491433905ecdcab6ab1ab025e5995ad67;p=dana%2Furxvt.git Cleanup. --- diff --git a/src/init.C b/src/init.C index d0ebe31c..67612dfd 100644 --- a/src/init.C +++ b/src/init.C @@ -855,13 +855,10 @@ rxvt_term::color_aliases (int idx) int i = atoi (rs[Rs_color + idx]); if (i >= 8 && i <= 15) - { /* bright colors */ - i -= 8; - rs[Rs_color + idx] = rs[Rs_color + minBrightCOLOR + i]; - return; - } - - if (i >= 0 && i <= 7) /* normal colors */ + /* bright colors */ + rs[Rs_color + idx] = rs[Rs_color + minBrightCOLOR + i - 8]; + else if (i >= 0 && i <= 7) + /* normal colors */ rs[Rs_color + idx] = rs[Rs_color + minCOLOR + i]; } }