Ascii: Fix bug when using custom ascii art

This commit is contained in:
Dylan Araps 2017-01-02 18:06:27 +11:00
parent a1ace81577
commit 2662c42adc

View file

@ -1922,8 +1922,9 @@ get_ascii() {
[[ -d "$ascii_dir" ]] || \
{ to_off "Ascii: Ascii file not found, falling back to text mode."; return; }
fi
fi
ascii="${ascii_dir}/${ascii_file}"
fi
# Set locale to get correct padding.
export LC_ALL="$sys_locale"