swpanel: Factor out if (swpanel) test
commit001bc280377d30341692ef973c607593a6217461
authorCarlos R. Mafra <crmafra@gmail.com>
Sat, 22 Aug 2009 00:55:45 +0000 (22 02:55 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 22 Aug 2009 01:08:05 +0000 (22 03:08 +0200)
tree8f957d07828c929ad6167a6faa4dda76cf93bc1c
parent203eba89370061e6272da73e8c5050d48e90459e
swpanel: Factor out if (swpanel) test

We can remove redundand tests in each "case:" inside the
switch if we do it in the beginning.
src/cycling.c