C color code: Ignore alpha component (FS#966)
commit00059d2d73009883ad666c44d2449004fff2257e
authorUli Schlachter <psychon@znc.in>
Sat, 7 Apr 2012 20:03:38 +0000 (7 22:03 +0200)
committerUli Schlachter <psychon@znc.in>
Sat, 7 Apr 2012 20:03:38 +0000 (7 22:03 +0200)
tree5f89b2cc90f8efbcf049987927ea179967c03820
parent5c7a3501d01a22f6cf4637bc057b46598e41e69a
C color code: Ignore alpha component (FS#966)

The only place where we silently have to ignore alpha components are window
borders and systray background. However, because these color strings could be
coming from the beautiful theme, we shouldn't error out when an alpha component
is present.

With this commit, we silently ignore this alpha component.

Signed-off-by: Uli Schlachter <psychon@znc.in>
color.c