[DEVMGR]
[reactos.git] / reactos / dll / win32 / devmgr / devmgmt / RootNode.cpp
index edb2d3c..4892343 100644 (file)
@@ -31,7 +31,8 @@ CRootNode::SetupNode()
     HBITMAP hRootImage;
     hRootImage = LoadBitmapW(g_hThisInstance,
                              MAKEINTRESOURCEW(IDB_ROOT_IMAGE));
-    if (hRootImage == NULL) return FALSE;
+    if (hRootImage == NULL)
+        return false;
 
     // Add this bitmap to the device image list. This is a bit hacky, but it's safe
     m_ClassImage = ImageList_Add(m_ImageListData->ImageList,
@@ -52,10 +53,7 @@ CRootNode::SetupNode()
 
     // The root name is the computer name 
     DWORD Size = DISPLAY_NAME_LEN;
-    if (GetComputerNameW(m_DisplayName, &Size))
-        _wcslwr(m_DisplayName);
+    GetComputerNameW(m_DisplayName, &Size);
 
     return true;
-
-
 }
\ No newline at end of file