* usr/lib/byobu/logo:

- fix minor logic typo (reversed logic)
This commit is contained in:
Dustin Kirkland 2015-08-31 10:25:46 -05:00
commit bbc36e741c
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View file

@ -18,6 +18,8 @@ byobu (5.95) unreleased; urgency=medium
usr/share/byobu/keybindings/f-keys.screen: LP: #1068580 usr/share/byobu/keybindings/f-keys.screen: LP: #1068580
- create BYOBU_SED_INLINE variable, to handle inline sed's, using - create BYOBU_SED_INLINE variable, to handle inline sed's, using
--follow-symlinks when possible (not always available) --follow-symlinks when possible (not always available)
* usr/lib/byobu/logo:
- fix minor logic typo (reversed logic)
[ Fortunato Ventre ] [ Fortunato Ventre ]
* usr/lib/byobu/include/constants: * usr/lib/byobu/include/constants:

View file

@ -121,9 +121,9 @@ __logo() {
;; ;;
*) *)
if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then
logo="[B]"
else
logo="〣" logo="〣"
else
logo="[B]"
fi fi
$MARKUP && printf "$(color b k W)%s$(color -)" "$logo" || printf " $logo " $MARKUP && printf "$(color b k W)%s$(color -)" "$logo" || printf " $logo "
;; ;;