repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 66e86bb8615cd4969ce28733f2ad3e7947561724:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 66e86bb8615cd4969ce28733f2ad3e7947561724
Author: Marc Lehmann 
Date:   Mon Dec 15 02:04:02 2014 +0000

    c++ify

diff --git a/src/init.C b/src/init.C
index 44c1741356e564bece87261c34e685fac257249f..
index ..b5bd5fd692b09e350a6ea88b268f833beb161c1c 100644
--- a/src/init.C
+++ b/src/init.C
@@ -1067,14 +1067,8 @@ rxvt_term::get_colors ()
 #endif

   for (i = 0; i < NRS_COLORS; i++)
-    {
-      const char *name = rs[Rs_color + i];
-
-      if (!name)
-        continue;
-
+    if (const char *name = rs[Rs_color + i])
       set_color (pix_colors [i], name);
-    }

   /*
    * get scrollBar shadow colors

-----END OF PAGE-----