wmaker: do not use strcmp twice on the same thing, in function appiconBalloon
commitaf2aba6f954c1f5c62badac3598eb2fbcdbe9506
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 8 May 2015 11:19:07 +0000 (8 13:19 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 8 May 2015 17:53:30 +0000 (8 18:53 +0100)
tree7235336038df224325abcb60e2b820ffcfdf6c7a
parent784f6794e5ee650883b9adc504881985cff9e2dc
wmaker: do not use strcmp twice on the same thing, in function appiconBalloon

It is not really efficient to call it twice because the strings will not
change, and by using the appropriate trick it can make the code smaller,
with less redundancy, so less prone to bugs and easier to maintain.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/balloon.c