Home
last modified time | relevance | path

Searched refs:newKeyNum (Results 1 – 1 of 1) sorted by relevance

/external/gptfdisk/
Dgptcurses.cc580 int newKeyNum; in MoveSelection() local
585 newKeyNum = whichOptions.find(currentKey); in MoveSelection()
586 newKeyNum += delta; in MoveSelection()
587 if (newKeyNum < 0) in MoveSelection()
588 newKeyNum = whichOptions.length() - 1; in MoveSelection()
589 newKeyNum %= whichOptions.length(); in MoveSelection()
590 currentKey = whichOptions[newKeyNum]; in MoveSelection()