mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-12 03:35:52 +01:00
Configure: Rename setting DEFSDATADIR to PKGCONFDIR
Directory /etc/WindowMaker is for global defaults configuration, it is not a "data" folder which is $PREFIX/share/WindowMaker. The name change make it more consistent with other names.
This commit is contained in:
committed by
Carlos R. Mafra
parent
85169642ca
commit
24f5b32469
@@ -116,9 +116,9 @@ char *wglobaldefaultspathfordomain(const char *domain)
|
||||
char *t = NULL;
|
||||
size_t len;
|
||||
|
||||
len = strlen(DEFSDATADIR) + strlen(domain) + 2;
|
||||
len = strlen(PKGCONFDIR) + strlen(domain) + 2;
|
||||
t = wmalloc(len);
|
||||
snprintf(t, len, "%s/%s", DEFSDATADIR, domain);
|
||||
snprintf(t, len, "%s/%s", PKGCONFDIR, domain);
|
||||
|
||||
return t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user