* Enable/Disable finish button based on the right edit control
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 6 Aug 2008 18:18:43 +0000 (18:18 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 6 Aug 2008 18:18:43 +0000 (18:18 +0000)
* fixes bug 3625

svn path=/trunk/; revision=35150

reactos/dll/cpl/appwiz/createlink.c

index 047f1ff..357e538 100644 (file)
@@ -188,7 +188,7 @@ FinishDlgProc(HWND hwndDlg,
             switch(HIWORD(wParam))
             {
                 case EN_CHANGE:
-                    if (SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_LOCATION, WM_GETTEXTLENGTH, 0, 0))
+                    if (SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_NAME, WM_GETTEXTLENGTH, 0, 0))
                     {
                         PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_FINISH);
                     }