--- trunk/reactos/subsys/system/servman/servman.c 2006-01-05 23:43:49 UTC (rev 20599)
+++ trunk/reactos/subsys/system/servman/servman.c 2006-01-06 00:01:20 UTC (rev 20600)
@@ -91,9 +91,8 @@
GetSystemMetrics(SM_CYSMICON), ILC_MASK, 1, 1);
/* Add an icon to each image list */
- hiconItem = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_SM_ICON));
+ hiconItem = LoadImage(hInstance, MAKEINTRESOURCE(IDI_SM_ICON), IMAGE_ICON, 16, 16, 0);
ImageList_AddIcon(hSmall, hiconItem);
- DestroyIcon(hiconItem);
ListView_SetImageList(hListView, hSmall, LVSIL_SMALL);
@@ -574,7 +573,7 @@
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszMenuName = MAKEINTRESOURCE(IDR_MAINMENU);
wc.lpszClassName = ClassName;
- wc.hIconSm = (HICON)LoadImage(GetModuleHandle(NULL),
+ wc.hIconSm = (HICON)LoadImage(hInstance,
MAKEINTRESOURCE(IDI_SM_ICON), IMAGE_ICON, 16, 16, 0);
if(!RegisterClassEx(&wc))
--- trunk/reactos/subsys/system/servman/servman.rc 2006-01-05 23:43:49 UTC (rev 20599)
+++ trunk/reactos/subsys/system/servman/servman.rc 2006-01-06 00:01:20 UTC (rev 20600)
@@ -10,7 +10,7 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-IDI_SM_ICON ICON "res/applet.ico"
+IDI_SM_ICON ICON "res/system.ico"
#include "En.rc"
#include "De.rc"