kwo pushed a commit to branch master.
commit a0034a6f70acbacf07b44e61f49e1e2a7aa6dfc1
Author: Kim Woelders <[email protected]>
Date: Wed Jul 10 07:42:50 2013 +0200
Discard broken backgrounds (bg file missing) on exit.
---
src/backgrounds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backgrounds.c b/src/backgrounds.c
index 6c3d0c6..109d381 100644
--- a/src/backgrounds.c
+++ b/src/backgrounds.c
@@ -1274,7 +1274,7 @@ BackgroundsConfigSave(void)
_BackgroundGetBgFile(bg);
_BackgroundGetFgFile(bg);
/* Discard if bg file is given but cannot be found (ignore bad fg) */
- if (bg->bg.file && !isabspath(bg->bg.file))
+ if (bg->bg.file && !exists(bg->bg.file))
{
Eprintf("Discard broken background %s (%s)\n",
bg->name, bg->bg.file);
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk