mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
8fd7dd44de
The XDG spec repeatedly says, for example: > If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used. - https://specifications.freedesktop.org/basedir-spec/latest/index.html It's rare in practice, but does happen, for example in #1507 where we would fail to find any system fonts if `XDG_DATA_DIRS` was blank. This code now treats whitespace-only variables as empty too, which may be overkill, but seems better to me than not doing so. |
||
---|---|---|
.. | ||
Libraries | ||
Services | ||
Utilities |