diff --git a/atom/browser/api/atom_api_system_preferences_win.cc b/atom/browser/api/atom_api_system_preferences_win.cc index 0c8e96a8a9c3..454c8ae24f7f 100644 --- a/atom/browser/api/atom_api_system_preferences_win.cc +++ b/atom/browser/api/atom_api_system_preferences_win.cc @@ -12,7 +12,7 @@ namespace atom { namespace { -const wchar_t kSystemPreferencestWindowClass[] = +const wchar_t kSystemPreferencesWindowClass[] = L"Electron_SystemPreferencesHostWindow"; } // namespace @@ -44,7 +44,7 @@ std::string SystemPreferences::GetAccentColor() { void SystemPreferences::InitializeWindow() { WNDCLASSEX window_class; base::win::InitializeWindowClass( - kSystemPreferencestWindowClass, + kSystemPreferencesWindowClass, &base::win::WrappedWindowProc, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, &window_class);