Author: janderwald
Date: Fri Oct 17 05:21:15 2008
New Revision: 36783
URL:
http://svn.reactos.org/svn/reactos?rev=36783&view=rev
Log:
- Hide ncpa.cpl from control panel
Modified:
trunk/reactos/dll/win32/shell32/shfldr_cpanel.c
Modified: trunk/reactos/dll/win32/shell32/shfldr_cpanel.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shfldr_c…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shfldr_cpanel.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shfldr_cpanel.c [iso-8859-1] Fri Oct 17 05:21:15 2008
@@ -420,7 +420,8 @@
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);