From c3e6efb4e2866f11254f968e17941b7254df692f Mon Sep 17 00:00:00 2001 From: mathias Date: Mon, 23 Jan 2006 22:52:56 +0000 Subject: little fix for fbsetbg (patch from mark tiefenbruck) --- ChangeLog | 2 ++ util/fbsetbg | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ada6fc2..b0bb2f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/util/fbsetbg b/util/fbsetbg index 8f77f52..5e58e19 100644 --- a/util/fbsetbg +++ b/util/fbsetbg @@ -288,6 +288,10 @@ while [ $# -gt 0 ]; do 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 fi -- cgit v0.11.2