Spelling: ... common (#3781)

* spelling: alignment

* spelling: awareness

* spelling: background

* spelling: bottom

* spelling: buttons

* spelling: comparison

* spelling: cortana

* spelling: exiting

* spelling: initialization

* spelling: middle

* spelling: properly

* spelling: succeeded

* spelling: unknown
This commit is contained in:
Josh Soref
2020-05-27 10:58:47 -04:00
committed by GitHub
parent ecb5d2ae1c
commit c2c163ac4e
17 changed files with 50 additions and 50 deletions

View File

@@ -56,7 +56,7 @@ namespace DPIAware
SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
}
AwarnessLevel GetAwarenessLevel(DPI_AWARENESS_CONTEXT system_returned_value)
AwarenessLevel GetAwarenessLevel(DPI_AWARENESS_CONTEXT system_returned_value)
{
const std::array levels{ DPI_AWARENESS_CONTEXT_UNAWARE,
DPI_AWARENESS_CONTEXT_SYSTEM_AWARE,
@@ -67,9 +67,9 @@ namespace DPIAware
{
if (AreDpiAwarenessContextsEqual(levels[i], system_returned_value))
{
return static_cast<AwarnessLevel>(i);
return static_cast<AwarenessLevel>(i);
}
}
return AwarnessLevel::UNAWARE;
return AwarenessLevel::UNAWARE;
}
}