]> git.mdlowis.com Git - proto/labwc.git/commit
button: save a few cycles by returning early
authorJohan Malm <jgm323@gmail.com>
Wed, 17 Jan 2024 21:50:53 +0000 (21:50 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 18 Jan 2024 20:20:36 +0000 (20:20 +0000)
commitd0aff49c8192aa1435ecd808c963a3c80f891a56
tree57f59f5d6cb4c07e89ec526311040b0e5cc6b088
parent4238d7fc33dc2c7c4ee4ecbac81decbc91833c1a
button: save a few cycles by returning early

...and in preparation for the merge-config patch, avoid building
directory lists for empty filenames.
src/button/button-png.c
src/button/button-svg.c
src/button/button-xbm.c