[Swfdec-commits] Branch '0.8' - src/plugin.c

Benjamin Otte company at kemper.freedesktop.org
Thu Nov 5 14:32:35 PST 2009


 src/plugin.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11bfe822fc16a06d8eacacd36a069ccf9dbc1201
Author: 李智豪 <zhihaoli.scut at gmail.com>
Date:   Thu Nov 5 23:30:21 2009 +0100

    Read correct argument when parsing alignment

diff --git a/src/plugin.c b/src/plugin.c
index 857d733..9a50cdc 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -289,7 +289,7 @@ plugin_new (NPMIMEType mime_type, NPP instance,
       guint j;
 
       for (j = 0; j < G_N_ELEMENTS (possibilities); j++) {
-	if (g_ascii_strcasecmp (argv[j], possibilities[j].name) == 0) {
+	if (g_ascii_strcasecmp (argv[i], possibilities[j].name) == 0) {
 	  align = possibilities[j].align;
 	  break;
 	}


More information about the Swfdec-commits mailing list