mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-31 04:55:54 +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
@@ -53,6 +53,10 @@
|
||||
|
||||
#include "../src/wconfig.h"
|
||||
|
||||
#ifndef GLOBAL_DEFAULTS_SUBDIR
|
||||
#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker"
|
||||
#endif
|
||||
|
||||
#include <WINGs/WINGs.h>
|
||||
#include <wraster.h>
|
||||
|
||||
@@ -1054,7 +1058,7 @@ char *globalDefaultsPathForDomain(char *domain)
|
||||
{
|
||||
char path[1024];
|
||||
|
||||
sprintf(path, "%s/WindowMaker/%s", SYSCONFDIR, domain);
|
||||
sprintf(path, "%s/%s/%s", SYSCONFDIR, GLOBAL_DEFAULTS_SUBDIR, domain);
|
||||
|
||||
return wstrdup(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user