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

Unified Diff: src/plugin/PluginFilter.cpp

Issue 5516878722105344: Issue #276 - replace TCHAR etc. with wide-character versions (Closed)
Patch Set: Created Aug. 5, 2014, 3:17 p.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/PluginClass.cpp ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginFilter.cpp
===================================================================
--- a/src/plugin/PluginFilter.cpp
+++ b/src/plugin/PluginFilter.cpp
@@ -52,7 +52,7 @@
// Find tag name, class or any (*)
CString filterString = filterText;
- TCHAR firstTag = filterString.GetAt(0);
+ wchar_t firstTag = filterString.GetAt(0);
// Any tag
if (firstTag == '*')
{
@@ -85,7 +85,7 @@
if (!filterString.IsEmpty())
{
- TCHAR firstId = filterString.GetAt(0);
+ wchar_t firstId = filterString.GetAt(0);
// Id
if (firstId == '#')
@@ -450,7 +450,7 @@
std::auto_ptr<CFilterElementHide> filter;
CString wholeFilterString = filterString;
- TCHAR separatorChar;
+ wchar_t separatorChar;
do
{
int chunkEnd = filterText.FindOneOf(L"+>");
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld