Update ECSAPI.lua

This commit is contained in:
Igor Timofeev
2015-09-06 17:12:55 +03:00
parent 6a5dcc3531
commit a5031a2a34

View File

@@ -1542,7 +1542,7 @@ function ECSAPI.drawOSIcon(x, y, path, showFileFormat)
else
if fileFormat == ".lnk" then
local shortcutLink = ECSAPI.readShortcut(path)
ECSAPI.drawIcon(x, y, shortcutLink)
ECSAPI.drawOSIcon(x, y, shortcutLink)
ECSAPI.colorTextWithBack(x + ECSAPI.OSIconsWidth- 6, y + ECSAPI.OSIconsHeight - 3, 0x000000, 0xffffff, "")
return 0
elseif fileFormat == ".cfg" or fileFormat == ".config" then