if (HIWORD(wParam) == CBN_SELCHANGE)
{
HWND hCombo = GetDlgItem(hDlg,IDC_ZOOM);
- LPCTSTR currentZoomValue = TEXT("");
+ TCHAR currentZoomValue[2] = TEXT("");
/* Get index of current selection and the text of that selection */
int currentSelectionIndex = ComboBox_GetCurSel(hCombo);