diff --git a/fetch b/fetch index fcf55422..e2a41167 100755 --- a/fetch +++ b/fetch @@ -600,8 +600,8 @@ getvisualstyle () { "Windows"*) visualstyle="$(head -n1 /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Themes/CurrentTheme)" - visualstyle=${visualstyle##*/} - visualstyle=${visualstyle%\.*} + visualstyle="${visualstyle##*/}" + visualstyle="${visualstyle%.*}" ;; *)