diff --git a/base/applications/rapps/appview.cpp b/base/applications/rapps/appview.cpp index cfe2683ec13..a11a35bca42 100644 --- a/base/applications/rapps/appview.cpp +++ b/base/applications/rapps/appview.cpp @@ -1296,7 +1296,9 @@ CAppsListView::AddApplication(CAppInfo *AppInfo, BOOL InitialCheckState) /* Load only the 1st icon from the application executable, * because all apps provide the executables which have the main icon * as 1st in the index , so we don't need other icons here */ - hIcon = ExtractIconW(hInst, szIconPath.GetString(), 0); + if (GetFileAttributesW(szIconPath.GetString()) != INVALID_FILE_ATTRIBUTES) + hIcon = ExtractIconW(hInst, szIconPath.GetString(), 0); + } if (!hIcon)