mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 22:03:11 -07:00
spelling: position
This commit is contained in:
parent
0117071ee2
commit
4908cb83cb
2 changed files with 4 additions and 4 deletions
|
@ -199,7 +199,7 @@ CategoryGroupType NavCategory::GetGroupType(ViewMode mode)
|
|||
: CategoryGroupType::None;
|
||||
}
|
||||
|
||||
// GetIndex is 0-based, GetPostion is 1-based
|
||||
// GetIndex is 0-based, GetPosition is 1-based
|
||||
int NavCategory::GetIndex(ViewMode mode)
|
||||
{
|
||||
int position = NavCategory::GetPosition(mode);
|
||||
|
@ -228,7 +228,7 @@ int NavCategory::GetFlatIndex(ViewMode mode)
|
|||
: -1;
|
||||
}
|
||||
|
||||
// GetIndex is 0-based, GetPostion is 1-based
|
||||
// GetIndex is 0-based, GetPosition is 1-based
|
||||
int NavCategory::GetIndexInGroup(ViewMode mode, CategoryGroupType type)
|
||||
{
|
||||
int index = -1;
|
||||
|
@ -249,7 +249,7 @@ int NavCategory::GetIndexInGroup(ViewMode mode, CategoryGroupType type)
|
|||
: -1;
|
||||
}
|
||||
|
||||
// GetIndex is 0-based, GetPostion is 1-based
|
||||
// GetIndex is 0-based, GetPosition is 1-based
|
||||
int NavCategory::GetPosition(ViewMode mode)
|
||||
{
|
||||
int position = 0;
|
||||
|
|
|
@ -170,7 +170,7 @@ namespace CalculatorApp
|
|||
static Platform::String^ GetNameResourceKey(ViewMode mode);
|
||||
static CategoryGroupType GetGroupType(ViewMode mode);
|
||||
|
||||
// GetIndex is 0-based, GetPostion is 1-based
|
||||
// GetIndex is 0-based, GetPosition is 1-based
|
||||
static int GetIndex(ViewMode mode);
|
||||
static int GetFlatIndex(ViewMode mode);
|
||||
static int GetIndexInGroup(ViewMode mode, CategoryGroupType type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue