- Hide ncpa.cpl from control panel

svn path=/trunk/; revision=36783
This commit is contained in:
Johannes Anderwald
2008-10-17 10:21:15 +00:00
parent 0bdd03839a
commit e18ac2ee40
+2 -1
View File
@@ -420,7 +420,8 @@ static BOOL CreateCPanelEnumList(
if (!(wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
strcpy(p, wfd.cFileName);
SHELL_RegisterCPanelApp((IEnumIDList*)iface, szPath);
if (strcmp(wfd.cFileName, "ncpa.cpl"))
SHELL_RegisterCPanelApp((IEnumIDList*)iface, szPath);
}
} while(FindNextFileA(hFile, &wfd));
FindClose(hFile);