slitaz-base-files rev 149

updated libtaz.hs boldify to take many args instead of just one
author Christian Mesh <meshca@clarkson.edu>
date Fri May 11 09:16:31 2012 -0500 (2012-05-11)
parents b7930b8e90d6
children 40fba570d91f
files rootfs/lib/libtaz.sh
line diff
     1.1 --- a/rootfs/lib/libtaz.sh	Sun May 06 02:02:29 2012 +0200
     1.2 +++ b/rootfs/lib/libtaz.sh	Fri May 11 09:16:31 2012 -0500
     1.3 @@ -71,10 +71,10 @@
     1.4  # Display a bold message. GTK Yad: Works only in --text=""
     1.5  boldify() {
     1.6  	case $output in
     1.7 -		raw) echo "$1" ;;
     1.8 -		gtk) echo "<b>$1</b>" ;;
     1.9 -		html) echo "<strong>$1</strong>" ;;
    1.10 -		*) echo -e "\\033[1m${1}\\033[0m" ;;
    1.11 +		raw) echo "$@" ;;
    1.12 +		gtk) echo "<b>$@</b>" ;;
    1.13 +		html) echo "<strong>$@</strong>" ;;
    1.14 +		*) echo -e "\\033[1m$@\\033[0m" ;;
    1.15  	esac
    1.16  }
    1.17