Cleanup.
authorayin <ayin>
Mon, 26 Nov 2007 10:33:36 +0000 (10:33 +0000)
committerayin <ayin>
Mon, 26 Nov 2007 10:33:36 +0000 (10:33 +0000)
src/init.C

index d0ebe31ccecfe335b1ed7617eded2f74c9e79cbc..67612dfd33fb594bffd056dd287d127afd1ec1cb 100644 (file)
@@ -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];
     }
 }