1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

fixed little bug with new SYSCONFDIR

This commit is contained in:
kojima
1999-09-17 02:11:04 +00:00
parent 85afb7a1b6
commit b1554bcd80

View File

@@ -668,10 +668,10 @@ WDefaultEntry optionList[] = {
{"VMaximizeKey", "None", (void*)WKBD_VMAXIMIZE, {"VMaximizeKey", "None", (void*)WKBD_VMAXIMIZE,
NULL, getKeybind, setKeyGrab NULL, getKeybind, setKeyGrab
}, },
{"RaiseKey", "Meta+Up", (void*)WKBD_RAISE, {"RaiseKey", "\"Meta+Up\"", (void*)WKBD_RAISE,
NULL, getKeybind, setKeyGrab NULL, getKeybind, setKeyGrab
}, },
{"LowerKey", "Meta+Down", (void*)WKBD_LOWER, {"LowerKey", "\"Meta+Down\"", (void*)WKBD_LOWER,
NULL, getKeybind, setKeyGrab NULL, getKeybind, setKeyGrab
}, },
{"RaiseLowerKey", "None", (void*)WKBD_RAISELOWER, {"RaiseLowerKey", "None", (void*)WKBD_RAISELOWER,
@@ -994,7 +994,7 @@ wDefaultsCheckDomains(void *foo)
WDWindowMaker->timestamp = stbuf.st_mtime; WDWindowMaker->timestamp = stbuf.st_mtime;
/* global dictionary */ /* global dictionary */
sprintf(path, "%s/WindowMaker", SYSCONFDIR); sprintf(path, "%s/WindowMaker/WindowMaker", SYSCONFDIR);
if (stat(path, &stbuf)>=0) { if (stat(path, &stbuf)>=0) {
shared_dict = ReadProplistFromFile(path); shared_dict = ReadProplistFromFile(path);
if (shared_dict && !PLIsDictionary(shared_dict)) { if (shared_dict && !PLIsDictionary(shared_dict)) {