Kaydet (Commit) 758e0193 authored tarafından Rafael Dominguez's avatar Rafael Dominguez

[WaE] Fix signed/unsigned comparison.

Change-Id: I79ee42e8e2480cb57f0d136bf96201e80fdf4f28
üst 9993d254
...@@ -529,7 +529,9 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt ) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment