file-operations: Fix incorrect operation

The ternary operator has lower precedence than bitwise or and thus had
made the expression a tautology.
This commit is contained in:
Khalid Abu Shawarib 2024-05-22 00:25:30 +03:00 committed by Peter Eisenmann
parent 78e22d0448
commit 9edcd430c3

View file

@ -7222,7 +7222,7 @@ retry:
res = g_file_copy (job->src,
dest,
G_FILE_COPY_TARGET_DEFAULT_PERMS |
job->new_mtime ? G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME : 0,
(job->new_mtime ? G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME : 0),
common->cancellable,
NULL, NULL,
&error);