repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 66e86bb8615cd4969ce28733f2ad3e7947561724: path_to: revision_to:
commit 66e86bb8615cd4969ce28733f2ad3e7947561724 Author: Marc LehmannDate: Mon Dec 15 02:04:02 2014 +0000 c++ify diff --git a/src/init.C b/src/init.C
--- 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-----