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
1 changed files with 2 additions and 1 deletions

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
ascii="${ascii_dir}/${ascii_file}"
fi
ascii="${ascii_dir}/${ascii_file}"
# Set locale to get correct padding.
export LC_ALL="$sys_locale"