[gnome-commander] Fix return value for symbolic links, introduced in commit 76d00a4



commit 4561e0b4c6e57fbc46cdc01d2392bcf7d9cf75e6
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Tue Feb 23 21:59:08 2021 +0100

    Fix return value for symbolic links, introduced in commit 76d00a4

 src/imageloader.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/imageloader.cc b/src/imageloader.cc
index d5a07b50..db697693 100644
--- a/src/imageloader.cc
+++ b/src/imageloader.cc
@@ -199,7 +199,7 @@ static const gchar *get_type_icon_name (guint32 type)
         case G_FILE_TYPE_REGULAR:
             return names[1];
         case G_FILE_TYPE_SYMBOLIC_LINK:
-            return names[6];
+            return names[3];
         //TODO: Add filetype names for G_FILE_TYPE_SHORTCUT and G_FILE_TYPE_MOUNTABLE
 
         default:


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