[gnome-commander] Fix update of mtime if needed, introduced in commit 684396f
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fix update of mtime if needed, introduced in commit 684396f
- Date: Fri, 29 Oct 2021 21:19:44 +0000 (UTC)
commit a3fb506abcca8d3ccafa5d328e122960c2833526
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Oct 27 22:50:25 2021 +0200
Fix update of mtime if needed, introduced in commit 684396f
src/gnome-cmd-dir.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index 256d5e89..38a7c9d1 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -880,7 +880,7 @@ gboolean gnome_cmd_dir_update_mtime (GnomeCmdDir *dir)
g_free(uri);
g_object_unref(gFileInfoCurrent);
- if (currentMTime && cachedMTime && !g_date_time_compare(cachedMTime, currentMTime))
+ if (currentMTime && cachedMTime && g_date_time_compare(cachedMTime, currentMTime))
{
// cache is not up-to-date
g_file_info_set_modification_date_time(GNOME_CMD_FILE (dir)->gFileInfo, currentMTime);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]