]> Dogcows Code - chaz/openbox/blobdiff - engines/openbox/theme.c
use the theme name only for the buttons dir
[chaz/openbox] / engines / openbox / theme.c
index 154aae83900cd105141674375910de642f5953ab..8cbab4819259efd6d57185bf23b8d4cb82066366 100644 (file)
@@ -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;
This page took 0.023559 seconds and 4 git commands to generate.