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

Unified Diff: src/plugin/PluginUserSettings.cpp

Issue 11043057: First run page triggering (Closed)
Patch Set: Ditching the statusbarasked Created July 22, 2013, 9:01 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
« src/plugin/PluginClass.cpp ('K') | « src/plugin/PluginSettings.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUserSettings.cpp
===================================================================
--- a/src/plugin/PluginUserSettings.cpp
+++ b/src/plugin/PluginUserSettings.cpp
@@ -100,7 +100,7 @@
CStringW sGetMessage(const CString& section, const CString& key)
{
Dictionary* dictionary = Dictionary::GetInstance();
- return CString(dictionary->Lookup(std::string(CW2A(section)), std::string(CW2A(key))).c_str());
+ return CStringW(dictionary->Lookup(std::string(CW2A(section)), std::string(CW2A(key))).c_str());
}
std::wstring sGetMessage(const std::string& section, const std::string& key)
« src/plugin/PluginClass.cpp ('K') | « src/plugin/PluginSettings.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld