mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* gicon.c (get_default_icon): Don't call is_exe for symlinks.
This commit is contained in:
parent
cd34ee8d1f
commit
a819801617
@ -1,3 +1,7 @@
|
||||
2001-08-03 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* gicon.c (get_default_icon): Don't call is_exe for symlinks.
|
||||
|
||||
2001-08-03 Abel Cheung <maddog@linux.org.hk>
|
||||
|
||||
* *.desktop: Added traditional Chinese strings.
|
||||
|
@ -390,7 +390,7 @@ get_default_icon (file_entry *fe)
|
||||
if (S_ISFIFO (mode))
|
||||
return iset_fifo;
|
||||
|
||||
if (is_exe (mode))
|
||||
if (!S_ISLNK (mode) && is_exe (mode))
|
||||
return iset_executable;
|
||||
|
||||
if (!strcmp (fe->fname, "core") || !strcmp (extension (fe->fname), "core"))
|
||||
|
Loading…
Reference in New Issue
Block a user