[WaE] Fix signed/unsigned comparison.
Change-Id: I79ee42e8e2480cb57f0d136bf96201e80fdf4f28
This commit is contained in:
@@ -529,7 +529,9 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt )
|
|||||||
{
|
{
|
||||||
//If the last elemented selected is the start range position
|
//If the last elemented selected is the start range position
|
||||||
//search for the first selected item
|
//search for the first selected item
|
||||||
if (nLastPos == mpStartSelRange - mFilteredItemList.begin())
|
size_t nSelPos = mpStartSelRange - mFilteredItemList.begin();
|
||||||
|
|
||||||
|
if (nLastPos == nSelPos)
|
||||||
{
|
{
|
||||||
while (nLastPos && mFilteredItemList[nLastPos-1]->isSelected())
|
while (nLastPos && mFilteredItemList[nLastPos-1]->isSelected())
|
||||||
--nLastPos;
|
--nLastPos;
|
||||||
|
Reference in New Issue
Block a user