1
0
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:
Martin Dietze
2009-08-24 10:10:03 +02:00
committed by Carlos R. Mafra
parent ba027149bd
commit 3f6ae395ce
6 changed files with 26 additions and 10 deletions

View File

@@ -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;
}