swap case for ifs

This commit is contained in:
Dylan Araps 2016-10-02 12:23:12 +11:00
parent 070843d2bf
commit 75a7d2c1b4

View file

@ -3155,10 +3155,8 @@ main() {
printf "\033[9999999D"
# Move cursor to top of ascii art
case "$image" in
"ascii" | "off") ;;
*) printf "\033[0H" ;;
esac
[ "$image" != "ascii" ] && [ "$image" != "off" ] && \
printf "\033[0H"
# Print the info
printinfo