diff options
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) { |