Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClass.cpp

Issue 10783032: Pass browser locale to the JS code (Closed)
Patch Set: Fixed review comments Created June 4, 2013, 11:25 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/BuildVariant.h ('k') | src/plugin/PluginClassThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -1904,17 +1904,17 @@ LRESULT CALLBACK CPluginClass::PaneWindo
#ifdef _DEBUG
// Display version
HFONT hFont = (HFONT)::SendMessage(pClass->m_hStatusBarWnd, WM_GETFONT, 0, 0);
HGDIOBJ hOldFont = ::SelectObject(hDC,hFont);
CRect rcText = rcClient;
rcText.left += offx;
::SetBkMode(hDC, TRANSPARENT);
- ::DrawText(hDC, _T(IEPLUGIN_VERSION), -1, &rcText, DT_WORD_ELLIPSIS|DT_LEFT|DT_SINGLELINE|DT_VCENTER);
+ ::DrawTextW(hDC, IEPLUGIN_VERSION, -1, &rcText, DT_WORD_ELLIPSIS|DT_LEFT|DT_SINGLELINE|DT_VCENTER);
::SelectObject(hDC, hOldFont);
#endif // _DEBUG
}
// Done!
EndPaint(hWnd, &ps);
« no previous file with comments | « src/plugin/BuildVariant.h ('k') | src/plugin/PluginClassThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld