mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
Add GLOBAL_DEFAULTS_SUBDIR and fix a syntax error in wmlib/Makefile.am
This commit is contained in:
committed by
Carlos R. Mafra
parent
ba027149bd
commit
3f6ae395ce
@@ -38,6 +38,10 @@
|
||||
|
||||
#include "../src/wconfig.h"
|
||||
|
||||
#ifndef GLOBAL_DEFAULTS_SUBDIR
|
||||
#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker"
|
||||
#endif
|
||||
|
||||
/* table of style related options */
|
||||
static char *options[] = {
|
||||
"TitleJustify",
|
||||
@@ -133,7 +137,7 @@ char *globalDefaultsPathForDomain(char *domain)
|
||||
{
|
||||
static char path[1024];
|
||||
|
||||
sprintf(path, "%s/WindowMaker/%s", SYSCONFDIR, domain);
|
||||
sprintf(path, "%s/%s/%s", SYSCONFDIR, GLOBAL_DEFAULTS_SUBDIR, domain);
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user