WINGs: Simplify wglobaldefaultspathfordomain
commitca4ae5068baa710a97c22633e9c12e8bc8cb8be3
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 8 Aug 2021 07:36:31 +0000 (8 09:36 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 10 Aug 2021 08:42:43 +0000 (10 09:42 +0100)
treea4bc36c0e09d4d70e5535d2f87f91e5b8454c58a
parent26491867a3351554b49373832d2bf8885e715722
WINGs: Simplify wglobaldefaultspathfordomain

The original code was over-complicated, it can be reduced to a one-line
call to a function that does the same thing, with the bonus that it will
behave better in the case where domain == NULL.
WINGs/userdefaults.c