diff options
author | Christoph Lohmann <20h@r-36.net> | 2014-06-01 17:08:16 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2014-06-01 17:08:16 +0200 |
commit | c6fcb78b3a9a73b691875048848430c18870a0fc (patch) | |
tree | ed366826409ea9c653dfa0cb3e187a82970fb2d1 /config.mk | |
parent | 8b4cfcea73a37ab6d67c06c69e9af3de304185e3 (diff) | |
download | st-c6fcb78b3a9a73b691875048848430c18870a0fc.tar.gz st-c6fcb78b3a9a73b691875048848430c18870a0fc.tar.bz2 st-c6fcb78b3a9a73b691875048848430c18870a0fc.zip |
Fixing color and refactor xsetcolorname.
By the recommendation of FRIGN I refactored xsetcolorname to remove the
unnecessary r, g, b variables when allocating a new color. Colors are
now freed and set to the new color. A die() should not happen here. Oth‐
erwise it is easy for applications to kill st. St should be resilent to
malicious input.
Second this patch standardises the naming of »color«. There is no
»colour« here. Maybe in some parts of the world.
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions