summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index f3cb2df..f468da7 100644
--- a/src/util.c
+++ b/src/util.c
@@ -131,7 +131,7 @@ GList *util_file_to_unique_list(const char *filename, Util_Content_Func func,
for (int i = len - 1; i >= 0; i--) {
line = lines[i];
g_strstrip(line);
- if (*line == '\0') {
+ if (!*line) {
continue;
}