From 6b538a20bd160f47ed2907e9b53aa1a90cdcddfb Mon Sep 17 00:00:00 2001 From: moko256 Date: Fri, 6 Aug 2021 05:05:02 +0900 Subject: [PATCH] fix a typo in https://github.com/flutter/engine/pull/27311 (flutter/engine#27687) --- .../src/flutter/shell/platform/windows/system_utils_winuwp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/windows/system_utils_winuwp.cc b/engine/src/flutter/shell/platform/windows/system_utils_winuwp.cc index 0fe91d6f77c..05d16d8838e 100644 --- a/engine/src/flutter/shell/platform/windows/system_utils_winuwp.cc +++ b/engine/src/flutter/shell/platform/windows/system_utils_winuwp.cc @@ -26,9 +26,9 @@ std::vector GetPreferredLanguageInfo() { std::vector GetPreferredLanguages() { std::vector languages; - auto platform_langueages = winrt::Windows::System::UserProfile:: + auto platform_languages = winrt::Windows::System::UserProfile:: GlobalizationPreferences::Languages(); - for (const auto& platform_language : platform_langueages) { + for (const auto& platform_language : platform_languages) { languages.push_back(std::wstring{platform_language}); } return languages;