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

Unified Diff: src/plugin/PluginUtil.cpp

Issue 11254007: Installation with registry keys
Patch Set: Created July 25, 2013, 9:57 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/Plugin.cpp ('k') | src/shared/Dictionary.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUtil.cpp
===================================================================
--- a/src/plugin/PluginUtil.cpp
+++ b/src/plugin/PluginUtil.cpp
@@ -24,12 +24,12 @@
std::wstring UserSettingsFileUrl()
{
- return FileUrl(GetDllDir() + L"html\\templates\\index.html");
+ return FileUrl( Location::html_dir() + L"templates\\index.html" );
}
std::wstring UserSettingsFirstRunPageUrl()
{
- return FileUrl(GetDllDir() + L"html\\templates\\firstRun.html");
+ return FileUrl( Location::html_dir() + L"templates\\firstRun.html");
}
std::wstring FileUrl(const std::wstring& path)
@@ -38,4 +38,3 @@
std::replace(url.begin(), url.end(), L'\\', L'/');
return L"file:///" + url;
}
-
« no previous file with comments | « src/plugin/Plugin.cpp ('k') | src/shared/Dictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld