diff options
Diffstat (limited to 'plugins/CSList/src/cslist.h')
-rw-r--r-- | plugins/CSList/src/cslist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CSList/src/cslist.h b/plugins/CSList/src/cslist.h index 1a816acc69..b359367fcf 100644 --- a/plugins/CSList/src/cslist.h +++ b/plugins/CSList/src/cslist.h @@ -257,10 +257,10 @@ public: return position;
}
- int remove( const unsigned int item )
+ int remove(const unsigned int item)
{
int position = 0;
- if ( item < 0 || item >= m_count )
+ if (item >= m_count)
return -1;
ListItem< T >* help = m_items;
|