From fe2ec0951215f651818efefa2ca27e23e9c30d72 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 28 Mar 2003 00:58:29 +0000 Subject: [PATCH] use the theme name only for the buttons dir --- engines/openbox/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/openbox/theme.c b/engines/openbox/theme.c index 154aae83..8cbab481 100644 --- a/engines/openbox/theme.c +++ b/engines/openbox/theme.c @@ -158,7 +158,7 @@ gboolean read_mask(XrmDatabase db, char *rname, pixmap_mask **value) else { g_free(s); s = g_strdup_printf("%s_buttons/%s", theme.string, - theme.string); + g_path_get_basename(theme.string)); if (XReadBitmapFileData(s, &w, &h, &b, &hx, &hy) == BitmapSuccess) ret = TRUE; -- 2.39.2