diff --git a/lib/filehighlight/get-color.c b/lib/filehighlight/get-color.c
index 547e3fd..60578e2 100644
a
|
b
|
mc_fhl_is_link (file_entry * fe) |
81 | 81 | } |
82 | 82 | |
83 | 83 | inline static gboolean |
| 84 | mc_fhl_is_hlink (file_entry * fe) |
| 85 | { |
| 86 | return (fe->st.st_nlink >1); |
| 87 | } |
| 88 | |
| 89 | inline static gboolean |
84 | 90 | mc_fhl_is_link_to_dir (file_entry * fe) |
85 | 91 | { |
86 | 92 | return mc_fhl_is_link (fe) && (fe->f.link_to_dir); |
… |
… |
mc_fhl_get_color_filetype (mc_fhl_filter_t * mc_filter, mc_fhl_t * fhl, file_ent |
175 | 181 | my_color = TRUE; |
176 | 182 | break; |
177 | 183 | case MC_FLHGH_FTYPE_T_LINK: |
178 | | if (mc_fhl_is_link (fe)) |
| 184 | if ((mc_fhl_is_link (fe)) || (mc_fhl_is_hlink (fe))) |
179 | 185 | my_color = TRUE; |
180 | 186 | break; |
181 | 187 | case MC_FLHGH_FTYPE_T_HARDLINK: |
182 | | /*TODO: hanlde it */ |
183 | | if (mc_fhl_is_link (fe)) |
| 188 | if (mc_fhl_is_hlink (fe)) |
184 | 189 | my_color = TRUE; |
185 | 190 | break; |
186 | 191 | case MC_FLHGH_FTYPE_T_SYMLINK: |
187 | | /*TODO: hanlde it */ |
188 | 192 | if (mc_fhl_is_link (fe)) |
189 | 193 | my_color = TRUE; |
190 | 194 | break; |