Commit fe9ac7c0 authored by Olivier Teulière's avatar Olivier Teulière

* skins2/parser/interpreter.cpp: cosmetic change

parent 32f841d7
......@@ -171,7 +171,7 @@ CmdGeneric *Interpreter::parseAction( const string &rAction, Theme *pTheme )
string::size_type pos = rightPart.find( ";" );
while( pos != string::npos )
{
string leftPart = rightPart.substr( 0, rightPart.find( ";" ) );
string leftPart = rightPart.substr( 0, pos );
// Remove any whitespace at the end of the left part, and parse it
leftPart =
leftPart.substr( 0, leftPart.find_last_not_of( " \t" ) + 1 );
......
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