summaryrefslogtreecommitdiff
path: root/src/gui/widgets/serverslistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/serverslistbox.h')
-rw-r--r--src/gui/widgets/serverslistbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/serverslistbox.h b/src/gui/widgets/serverslistbox.h
index fb45dd01a..20d019f8d 100644
--- a/src/gui/widgets/serverslistbox.h
+++ b/src/gui/widgets/serverslistbox.h
@@ -47,7 +47,7 @@ class ServersListBox final : public ListBox
void draw(Graphics *const graphics) override final A_NONNULL(2)
{
- if (!mListModel)
+ if (mListModel == nullptr)
return;
ServersListModel *const model