summaryrefslogtreecommitdiff
path: root/src/lib/libremessages
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-05 17:09:30 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-05 18:50:17 -0500
commitb07f84783a9b3e4e799e93173977882de6c16fa8 (patch)
tree0d3a9f85d22695af3c90755e23fc9a8d8d2be9ac /src/lib/libremessages
parent56384e572d419a48439a90b9481a715a13a109c8 (diff)
src/lib/: misc touch-up
Diffstat (limited to 'src/lib/libremessages')
-rwxr-xr-xsrc/lib/libremessages4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libremessages b/src/lib/libremessages
index 8766578..8e48c3b 100755
--- a/src/lib/libremessages
+++ b/src/lib/libremessages
@@ -88,8 +88,6 @@ bullet() {
# bullet.
flag() {
[[ $# == 2 ]] || panic
- local n='
-'
local flag=$1
local desc="$(_ "$(_html_whitespace_collapse <<<"$2")")"
@@ -99,7 +97,7 @@ flag() {
done
local lines
- IFS=$n lines=($(fmt -u -w $((73-indent)) <<<"$desc"))
+ IFS=$'\n' lines=($(fmt -u -w $((73-indent)) <<<"$desc"))
local line
for line in "${lines[@]}"; do
printf " %-${indent}s %s\n" "$flag" "$line"