WMaker: Use wdefaultspathfordomain() to get path for Defaults directory
commit735651df559eabf0eface6bf31b049bc14d247d5
authorJohn D Pell <john@pell.cc>
Sun, 8 Aug 2021 07:36:11 +0000 (8 09:36 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 10 Aug 2021 08:42:43 +0000 (10 09:42 +0100)
treef0b3d9b94f5f9151b3bdb5eff4ef59cb93ee0768
parentbfab7690651e85d5c400058077758b22c3b221c5
WMaker: Use wdefaultspathfordomain() to get path for Defaults directory

Instead of constructing path to user's defaults directory with hard-coded
names, just query wdefaultspathfordomain with a blank domain: this returns
the equivalent of "~/GNUstep/Defaults/", yet avoiding problems related to
duplicating strings.
src/main.c
src/wconfig.h.in