Fix comparison

This commit is contained in:
Dominik Ritter 2017-03-02 01:56:29 +01:00
parent eec7f08eee
commit e2d1cb27a5

View file

@ -1666,7 +1666,7 @@ get_term_font() {
# selected one, but then decided to uncheck the "use different font" mark
# again.
local nonAsciiFont=$(/usr/libexec/PlistBuddy -c "Print :New\ Bookmarks:${idx}:Non\ Ascii\ Font:" ~/Library/Preferences/com.googlecode.iterm2.plist)
if [[ "$term_font" -ne "$nonAsciiFont" ]]; then
if [[ "$term_font" != "$nonAsciiFont" ]]; then
term_font="$term_font (normal) / $nonAsciiFont (non-ascii)"
fi
fi