Windows XP path fix

This commit is contained in:
dylan araps 2016-01-05 19:09:48 +11:00
parent 88a6c10d28
commit e75aa64203

View file

@ -622,8 +622,7 @@ getwallpaper () {
"Windows")
case "$distro" in
"Windows XP")
path="C:\\Documents and Settings\\${USER}\\Local Settings\\Application Data\\Microsoft\\Wallpaper1.bmp"
img="$(cygpath -u "${path}")"
img="C:\\Documents and Settings\\${USER}\\Local Settings\\Application Data\\Microsoft\\Wallpaper1.bmp"
;;
"Windows"*)