summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/resource_bundle_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/resource_bundle_win.cc b/app/resource_bundle_win.cc
index 63645d4..ec306ef 100644
--- a/app/resource_bundle_win.cc
+++ b/app/resource_bundle_win.cc
@@ -39,8 +39,8 @@ ResourceBundle::~ResourceBundle() {
}
void ResourceBundle::LoadResources(const std::wstring& pref_locale) {
- // As a convenience, set resources_data_ to the current module.
- resources_data_ = _AtlBaseModule.GetModuleInstance();
+ // As a convenience, set resources_data_ to the current resource module.
+ resources_data_ = _AtlBaseModule.GetResourceInstance();
DCHECK(NULL == locale_resources_data_) << "locale dll already loaded";
const FilePath& locale_path = GetLocaleFilePath(pref_locale);