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

Unified Diff: src/plugin/PluginUtil.h

Issue 29332775: Issue #1234 - Remove 'CString' From 'ToLowerString()' (Closed)
Patch Set: rewrite to use _wcslwr_s() Created Dec. 16, 2015, 1:51 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 | « no previous file | src/plugin/PluginUtil.cpp » ('j') | src/plugin/PluginUtil.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUtil.h
===================================================================
--- a/src/plugin/PluginUtil.h
+++ b/src/plugin/PluginUtil.h
@@ -33,6 +33,7 @@
/**
* Return a lower-case version of the argument string.
- * Current version uses 'CString::MakeLower()' to preserve legacy behavior during refactoring.
+ * Lowers case according to the current locale.
+ * This function has an undefined return value if the argument string contains embedded null characters.
*/
std::wstring ToLowerString(const std::wstring& s);
« no previous file with comments | « no previous file | src/plugin/PluginUtil.cpp » ('j') | src/plugin/PluginUtil.cpp » ('J')

Powered by Google App Engine
This is Rietveld