use the theme name only for the buttons dir
This commit is contained in:
parent
c9d39eddb7
commit
fe2ec09512
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ gboolean read_mask(XrmDatabase db, char *rname, pixmap_mask **value)
|
||||||
else {
|
else {
|
||||||
g_free(s);
|
g_free(s);
|
||||||
s = g_strdup_printf("%s_buttons/%s", theme.string,
|
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) ==
|
if (XReadBitmapFileData(s, &w, &h, &b, &hx, &hy) ==
|
||||||
BitmapSuccess)
|
BitmapSuccess)
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue