diff options
author | rbuj <[email protected]> | 2021-10-19 20:47:32 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-02-11 18:36:38 +0100 |
commit | 693d74f5e9d72224fa8213fec7231203c863c4e2 (patch) | |
tree | 4bb5f8d2f42c188a5340e66f2c04378de52f28e5 /logview/src/logview-log.c | |
parent | ae5293ecdb902c6ff3f4870e6ae94c69024b3288 (diff) | |
download | mate-utils-693d74f5e9d72224fa8213fec7231203c863c4e2.tar.bz2 mate-utils-693d74f5e9d72224fa8213fec7231203c863c4e2.tar.xz |
logview: converting the enum constant to a boolean
Diffstat (limited to 'logview/src/logview-log.c')
-rw-r--r-- | logview/src/logview-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logview/src/logview-log.c b/logview/src/logview-log.c index b4aef846..6ff92904 100644 --- a/logview/src/logview-log.c +++ b/logview/src/logview-log.c @@ -643,7 +643,7 @@ log_load (GIOSchedulerJob *io_job, is_archive = g_content_type_equals (content_type, "application/x-gzip"); - 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") && !is_archive)) { err = g_error_new_literal (LOGVIEW_ERROR_QUARK, LOGVIEW_ERROR_NOT_A_LOG, |