summaryrefslogtreecommitdiff
path: root/logview/src/logview-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'logview/src/logview-app.c')
-rw-r--r--logview/src/logview-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logview/src/logview-app.c b/logview/src/logview-app.c
index fc5941fc..ba9bec7b 100644
--- a/logview/src/logview-app.c
+++ b/logview/src/logview-app.c
@@ -185,7 +185,7 @@ enumerate_next_files_async_cb (GObject *source,
continue;
}
- if (type != (G_FILE_TYPE_REGULAR || G_FILE_TYPE_SYMBOLIC_LINK) ||
+ if (((type != G_FILE_TYPE_REGULAR) && (type != G_FILE_TYPE_SYMBOLIC_LINK)) ||
!g_content_type_is_a (content_type, "text/plain"))
{
g_object_unref (info);