]> git.sesse.net Git - vlc/commitdiff
* skins2/parser/interpreter.cpp: cosmetic change
authorOlivier Teulière <ipkiss@videolan.org>
Sun, 27 Nov 2005 13:24:02 +0000 (13:24 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Sun, 27 Nov 2005 13:24:02 +0000 (13:24 +0000)
modules/gui/skins2/parser/interpreter.cpp

index 2f16bb965d199ada46784f223180d67219064736..f3613aadd8f0ba449575fd6ec3a0ca12103eb892 100644 (file)
@@ -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 );