From aaae49d6291ffd202cfd7e6a9a31df816433d356 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 7 Apr 2003 04:59:38 +0000 Subject: [PATCH] look for masks in the right place. display the error with just the requested button name. --- engines/openbox/obtheme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/openbox/obtheme.c b/engines/openbox/obtheme.c index a68d8248..f7e7941d 100644 --- a/engines/openbox/obtheme.c +++ b/engines/openbox/obtheme.c @@ -137,14 +137,14 @@ static gboolean read_mask(XrmDatabase db, char *rname, pixmap_mask **value) g_free(s); themename = g_path_get_basename(engine_theme); - s = g_strdup_printf("%s_buttons/%s", engine_theme, - themename); + s = g_strdup_printf("%s/%s_buttons/%s", engine_theme, + themename, retvalue.addr); g_free(themename); if (XReadBitmapFileData(s, &w, &h, &b, &hx, &hy) == BitmapSuccess) ret = TRUE; else - g_message("Unable to find bitmap '%s'", s); + g_message("Unable to find bitmap '%s'", retvalue.addr); } } -- 2.39.2