]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[script] Default to text color alpha of 1 if nothing was passed
authorCharlie Brej <cbrej@cs.man.ac.uk>
Tue, 20 Apr 2010 13:00:01 +0000 (14:00 +0100)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Tue, 20 Apr 2010 13:00:01 +0000 (14:00 +0100)
commitd163fb2a3dcfe64ef1e984cedaeade8c8d0fc4bc
tree164ebe9c7444a73bdeb327a0ba7faa3292ec42e4
parent5de9b303bb6df6b67cb63af6c38da6872089ccb9
[script] Default to text color alpha of 1 if nothing was passed

If NULL or no variable was passed, the aplha variable would be read as NaN
which gets clamped to 0 so the text would be completely transparent.
src/plugins/splash/script/script-lib-image.c