little fix for fbsetbg (patch from mark tiefenbruck)
This commit is contained in:
parent
b429656122
commit
c3e6efb4e2
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.15:
|
||||
*06/01/23:
|
||||
* minor fix for fbsetbg (thanx Mark Tiefenbruck)
|
||||
*06/01/16:
|
||||
* minor changes to fix some warnings (Thanks php-coder)
|
||||
Screen.cc Window.cc MenuCreator.cc MenuTheme.hh
|
||||
|
|
|
@ -287,6 +287,10 @@ while [ $# -gt 0 ]; do
|
|||
if [ -r "$lastwallpaper" ]; then
|
||||
option=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f1`
|
||||
wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2`
|
||||
if [ -z "$wallpaper" ]; then
|
||||
option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1`
|
||||
wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2`
|
||||
fi
|
||||
if [ -z "$wallpaper" ]; then
|
||||
message "No previous wallpaper recorded for display ${DISPLAY}"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue