[SYSDM]
authorEric Kohl <eric.kohl@reactos.org>
Wed, 16 Sep 2015 20:56:14 +0000 (20:56 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 16 Sep 2015 20:56:14 +0000 (20:56 +0000)
Set the proper title for the hardware profile properties dialog.
CORE-10197 #resolve #comment Looks much better now!

svn path=/trunk/; revision=69256

reactos/dll/cpl/sysdm/hardprof.c

index 8c632e3..c606495 100644 (file)
@@ -433,11 +433,11 @@ HardwareProfileProperties(
 
     ZeroMemory(&psh, sizeof(PROPSHEETHEADER));
     psh.dwSize = sizeof(PROPSHEETHEADER);
-    psh.dwFlags =  PSH_PROPTITLE;
+    psh.dwFlags = PSH_PROPTITLE;
     psh.hwndParent = hwndDlg;
     psh.hInstance = hApplet;
     psh.hIcon = NULL;
-    psh.pszCaption = NULL;
+    psh.pszCaption = pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex].szFriendlyName;
     psh.nPages = 1;
     psh.nStartPage = 0;
     psh.phpage = &hpsp;