[gnome-commander] noop: log the filename and not the display filename when reffing



commit 7b6b71cb861d7b3c6316d48e2efcdd2459c42544
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Sep 19 00:04:53 2021 +0200

    noop: log the filename and not the display filename when reffing

 src/gnome-cmd-file.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index edf84457..8c5f98b2 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -264,7 +264,7 @@ GnomeCmdFile *GnomeCmdFile::ref()
 
     char c = GNOME_CMD_IS_DIR (this) ? 'd' : 'f';
 
-    DEBUG (c, "refing: %p %s to %d\n", this, g_file_info_get_display_name(gFileInfo), priv->ref_cnt);
+    DEBUG (c, "refing: %p %s to %d\n", this, g_file_info_get_name(gFileInfo), priv->ref_cnt);
 
     return this;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]