diff options
| -rw-r--r-- | UFileAssoc.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UFileAssoc.pas b/UFileAssoc.pas index 0d4f6ef..e7768b1 100644 --- a/UFileAssoc.pas +++ b/UFileAssoc.pas @@ -240,8 +240,8 @@ begin if not IsLnk then Icon := FileIconCached.FPixbuf else Icon := FileIconLnkCached.FPixbuf; if (Pos('.', FName) > 1) and (LastDelimiter('.', FName) < Length(FName)) then begin - Plugin := FindVFSPlugin(FDisplayName); - Assoc := FindAssoc(FDisplayName); + Plugin := FindVFSPlugin(FName); + Assoc := FindAssoc(FName); // Asssign icon and color if Plugin <> nil then begin |
