mozilla: fixed name argument in add(url, name, options), thanx to thannoy on IRC
authorDamien Fouilleul <damienf@videolan.org>
Wed, 20 Feb 2008 16:18:54 +0000 (16:18 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Wed, 20 Feb 2008 16:18:54 +0000 (16:18 +0000)
projects/mozilla/control/npolibvlc.cpp

index 7ff456e..c9d6861 100755 (executable)
@@ -1445,7 +1445,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
                     }\r
                     else if( NPVARIANT_IS_STRING(args[1]) )\r
                     {\r
-                        name = stringValue(NPVARIANT_TO_STRING(args[0]));\r
+                        name = stringValue(NPVARIANT_TO_STRING(args[1]));\r
                     }\r
                     else\r
                     {\r