diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-03 14:48:42 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-03 14:48:42 +0200 |
commit | 8ac461dbb8804f6e8b3638d8430b17fc7cf28075 (patch) | |
tree | 933f530445bfeb7d7e088aaa7d16924d6e41fd0e /src/ui/inputwidget.c | |
parent | 45018eefbf9d331c58009b6657081ff103c7b1fe (diff) |
XDG: Check XDG_CONFIG_HOME and the user's download directory
Also added a build option to disable changing the user download
directory within Lagrange, since that's set via XDG config.
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 3f799e3c..1674040b 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -223,6 +223,7 @@ static void updateBuffered_InputWidget_(iInputWidget *d) { | |||
223 | } | 223 | } |
224 | 224 | ||
225 | void setText_InputWidget(iInputWidget *d, const iString *text) { | 225 | void setText_InputWidget(iInputWidget *d, const iString *text) { |
226 | if (!d) return; | ||
226 | if (d->inFlags & isUrl_InputWidgetFlag) { | 227 | if (d->inFlags & isUrl_InputWidgetFlag) { |
227 | /* If user wants URLs encoded, also Punycode the domain. */ | 228 | /* If user wants URLs encoded, also Punycode the domain. */ |
228 | if (!prefs_App()->decodeUserVisibleURLs) { | 229 | if (!prefs_App()->decodeUserVisibleURLs) { |