/[gcjwebplugin]/gcjwebplugin/src/gcjwebplugin.cc
ViewVC logotype

Diff of /gcjwebplugin/src/gcjwebplugin.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by mkoch, Mon Jun 28 09:07:37 2004 UTC revision 1.27 by fitzsim, Wed Aug 25 07:23:08 2004 UTC
# Line 188  GCJ_New (NPMIMEType pluginType, NPP inst Line 188  GCJ_New (NPMIMEType pluginType, NPP inst
188          }          }
189        else        else
190          {          {
191            applet_tag = g_strconcat (applet_tag,            // Escape the parameter value so that line termination
192                                      g_strdup_printf ("%s=\"%s\" ", argn[i], argv[i]), NULL);            // characters will pass through the pipe.
193              if (argv[i] != '\0')
194                applet_tag = g_strconcat (applet_tag, argn[i],
195                                          "=\"",
196                                          g_strescape (argv[i], NULL),
197                                          "\" ", NULL);
198          }          }
199      }      }
200    applet_tag = g_strconcat (applet_tag,    applet_tag = g_strconcat (applet_tag,
# Line 200  GCJ_New (NPMIMEType pluginType, NPP inst Line 205  GCJ_New (NPMIMEType pluginType, NPP inst
205    instance->pdata = data;    instance->pdata = data;
206    
207    char* tag = g_strdup_printf ("tag %s %s", data->documentbase, applet_tag);    char* tag = g_strdup_printf ("tag %s %s", data->documentbase, applet_tag);
208      
209    send_message_to_appletviewer (data->instance_id);    send_message_to_appletviewer (data->instance_id);
210    send_message_to_appletviewer (tag);    send_message_to_appletviewer (tag);
211    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26