diff options
Diffstat (limited to 'plugins/DbChecker/src/openerror.cpp')
-rw-r--r-- | plugins/DbChecker/src/openerror.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbChecker/src/openerror.cpp b/plugins/DbChecker/src/openerror.cpp index 49d4b88bf7..a5ea7c99a6 100644 --- a/plugins/DbChecker/src/openerror.cpp +++ b/plugins/DbChecker/src/openerror.cpp @@ -28,7 +28,7 @@ INT_PTR CALLBACK OpenErrorDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM switch (message) {
case WM_INITDIALOG:
{
- TCHAR szError[256];
+ wchar_t szError[256];
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, opts.error, 0, szError, _countof(szError), NULL);
SetDlgItemText(hdlg, IDC_ERRORTEXT, szError);
}
|