mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-24 06:55:19 -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;
|
: CategoryGroupType::None;
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetIndex is 0-based, GetPostion is 1-based
|
// GetIndex is 0-based, GetPosition is 1-based
|
||||||
int NavCategory::GetIndex(ViewMode mode)
|
int NavCategory::GetIndex(ViewMode mode)
|
||||||
{
|
{
|
||||||
int position = NavCategory::GetPosition(mode);
|
int position = NavCategory::GetPosition(mode);
|
||||||
|
@ -228,7 +228,7 @@ int NavCategory::GetFlatIndex(ViewMode mode)
|
||||||
: -1;
|
: -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 NavCategory::GetIndexInGroup(ViewMode mode, CategoryGroupType type)
|
||||||
{
|
{
|
||||||
int index = -1;
|
int index = -1;
|
||||||
|
@ -249,7 +249,7 @@ int NavCategory::GetIndexInGroup(ViewMode mode, CategoryGroupType type)
|
||||||
: -1;
|
: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetIndex is 0-based, GetPostion is 1-based
|
// GetIndex is 0-based, GetPosition is 1-based
|
||||||
int NavCategory::GetPosition(ViewMode mode)
|
int NavCategory::GetPosition(ViewMode mode)
|
||||||
{
|
{
|
||||||
int position = 0;
|
int position = 0;
|
||||||
|
|
|
@ -170,7 +170,7 @@ namespace CalculatorApp
|
||||||
static Platform::String^ GetNameResourceKey(ViewMode mode);
|
static Platform::String^ GetNameResourceKey(ViewMode mode);
|
||||||
static CategoryGroupType GetGroupType(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 GetIndex(ViewMode mode);
|
||||||
static int GetFlatIndex(ViewMode mode);
|
static int GetFlatIndex(ViewMode mode);
|
||||||
static int GetIndexInGroup(ViewMode mode, CategoryGroupType type);
|
static int GetIndexInGroup(ViewMode mode, CategoryGroupType type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue