display correct device name after successful driver installation
[reactos.git] / reactos / lib / newdev / newdev.c
index 265e43c..606660f 100644 (file)
@@ -389,7 +389,7 @@ FinishDlgProc(
                                IDC_DEVICE,
                                WM_SETTEXT,
                                0,
-                               (LPARAM) DevInstData->buffer);
+                               (LPARAM) DevInstData->drvInfoData.Description);
 
                        /* Set title font */
                        SendDlgItemMessage(hwndDlg,