summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stk.c b/src/stk.c
index 222d4ba3..ac2e6468 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -303,7 +303,7 @@ static char *dbus_apply_text_attributes(const char *text,
const uint8_t *j = attr->attributes;
const uint8_t *end = j + attr->len;
- if (!text)
+ if (text == NULL)
return NULL;
if (attr->len & 3)