summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-27 17:37:56 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-27 17:37:56 -0400
commitfe9a3c1924953999a6041f465574c2f39c8cd058 (patch)
tree3f45c692edeee5bb0cc0064fbd866507c5cee77e /src/lib
parente231c8772b594dce52514882b549f412638585a2 (diff)
librelib: remove calls to the non-existent panic()
Diffstat (limited to 'src/lib')
-rwxr-xr-xsrc/lib/librelib2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/librelib b/src/lib/librelib
index 63d9a26..3348c7c 100755
--- a/src/lib/librelib
+++ b/src/lib/librelib
@@ -35,12 +35,10 @@ print() {
}
_html_whitespace_collapse() {
- [[ $# == 0 ]] || panic
tr '\n' ' ' | sed -r -e 's/\t/ /g' -e 's/ +/ /g'
}
prose() {
- [[ $# -ge 1 ]] || panic
local mesg="$(_ "$(_html_whitespace_collapse <<<"$1")")"; shift
printf -- "$mesg" "$@" | fmt -u
}