Improve swedish translations and add new translations to swedish.
[reactos.git] / base / applications / mscutils / servman / listview.c
index a9f6dcf..0ccf76b 100644 (file)
@@ -248,7 +248,6 @@ RefreshServiceList(PMAIN_WND_INFO Info)
 {
     ENUM_SERVICE_STATUS_PROCESS *pService;
     LVITEMW lvItem;
-    DWORD NumServices;
     DWORD Index;
 
     SendMessage (Info->hListView,
@@ -258,9 +257,9 @@ RefreshServiceList(PMAIN_WND_INFO Info)
 
     (void)ListView_DeleteAllItems(Info->hListView);
 
-    if (GetServiceList(Info, &NumServices))
+    if (GetServiceList(Info))
     {
-        for (Index = 0; Index < NumServices; Index++)
+        for (Index = 0; Index < Info->NumServices; Index++)
         {
             INT i;