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

Unified Diff: src/plugin/Console.h

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/Config.h ('k') | src/plugin/Plugin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/Console.h
===================================================================
--- a/src/plugin/Console.h
+++ b/src/plugin/Console.h
@@ -35,7 +35,7 @@
HANDLE hInput = GetStdHandle(STD_INPUT_HANDLE);
- TCHAR buf[128];
+ wchar_t buf[128];
DWORD nRead = 0;
ReadConsole(hInput, buf, countof(buf), &nRead, 0);
}
@@ -153,7 +153,7 @@
}
CONSOLE("Hit 'ENTER' to continue");
- TCHAR buf[128];
+ wchar_t buf[128];
DWORD nRead = 0;
ReadConsole(GetStdHandle(STD_INPUT_HANDLE), buf, countof(buf), &nRead, 0);
}
« no previous file with comments | « src/plugin/Config.h ('k') | src/plugin/Plugin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld