Commit ac9741ec authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed warning



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15704 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5c8e1be8
......@@ -512,7 +512,7 @@ void DrawMode::addLayer( const DrawModeProperties* _props )
bool DrawMode::removeLayer( unsigned int _i )
{
if (_i < layers_.size() && _i >= 0)
if (_i < layers_.size() )
{
layers_.erase(layers_.begin() + _i);
return true;
......
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