diff options
Diffstat (limited to 'plugins/Variables/src')
| -rw-r--r-- | plugins/Variables/src/help.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/help.cpp b/plugins/Variables/src/help.cpp index 89986aedb5..fcc86aa69f 100644 --- a/plugins/Variables/src/help.cpp +++ b/plugins/Variables/src/help.cpp @@ -724,7 +724,7 @@ static INT_PTR CALLBACK inputDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM  				if (newString != NULL) {  					TCHAR *oldString = Hlp_GetDlgItemText(hwndDlg, IDC_RESULT);  					if (oldString == NULL || _tcscmp(oldString, newString)) -						SetWindowText(GetDlgItem(hwndDlg, IDC_RESULT), newString); +						SetDlgItemText(hwndDlg, IDC_RESULT, newString);  					mir_free(newString);  					if (oldString != NULL) @@ -873,7 +873,7 @@ static INT_PTR CALLBACK helpDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM l  					}  				}  				if (dat->vhs->fi != NULL || dat->vhs->hwndCtrl != NULL) { -					SetWindowText(GetDlgItem(hwndDlg, IDC_CANCEL), TranslateT("Cancel")); +					SetDlgItemText(hwndDlg, IDC_CANCEL, TranslateT("Cancel"));  					ShowWindow(GetDlgItem(hwndDlg, IDC_OK), SW_SHOW);  				}  			}  | 
