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

Unified Diff: src/engine/Main.cpp

Issue 11612008: Bunch of tiny fixes (Closed)
Patch Set: Created Sept. 5, 2013, 10:38 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/PluginSettings.h » ('j') | src/plugin/PluginSettings.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/engine/Main.cpp
===================================================================
--- a/src/engine/Main.cpp
+++ b/src/engine/Main.cpp
@@ -53,14 +53,14 @@
{
std::wstring upToDateText = dictionary->Lookup("updater", "update-already-up-to-date-text");
std::wstring upToDateTitle = dictionary->Lookup("updater", "update-already-up-to-date-title");
- MessageBox(NULL, upToDateText.c_str(), upToDateTitle.c_str(), MB_OK);
+ MessageBoxW(NULL, upToDateText.c_str(), upToDateTitle.c_str(), MB_OK);
Oleksandr 2013/09/05 22:47:40 http://codereview.adblockplus.org/11276031/diff/30
}
else
{
std::wstring errorText = dictionary->Lookup("updater", "update-error-text");
std::wstring errorTitle = dictionary->Lookup("updater", "update-error-title");
ReplaceString(errorText, L"?1?", ToUtf16String(res));
- MessageBox(NULL, errorText.c_str(), errorTitle.c_str(), MB_OK);
+ MessageBoxW(NULL, errorText.c_str(), errorTitle.c_str(), MB_OK);
}
return;
}
« no previous file with comments | « no previous file | src/plugin/PluginSettings.h » ('j') | src/plugin/PluginSettings.cpp » ('J')

Powered by Google App Engine
This is Rietveld