summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/WinCtrlHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/WinCtrlHelper.h')
-rw-r--r--plugins/Quotes/src/WinCtrlHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Quotes/src/WinCtrlHelper.h b/plugins/Quotes/src/WinCtrlHelper.h
index 52e4521f24..1c5777d45d 100644
--- a/plugins/Quotes/src/WinCtrlHelper.h
+++ b/plugins/Quotes/src/WinCtrlHelper.h
@@ -7,7 +7,7 @@ inline tstring get_window_text(HWND hWnd)
{
int cBytes = ::GetWindowTextLength(hWnd);
- std::vector<TCHAR> aBuf(cBytes + 1);
+ std::vector<wchar_t> aBuf(cBytes + 1);
LPTSTR pBuffer = &*(aBuf.begin());
::GetWindowText(hWnd, pBuffer, cBytes + 1);