[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] /srv/bzr/gnash/trunk r9738: Revert plugin to snprintf
From: |
strk |
Subject: |
Re: [Gnash-commit] /srv/bzr/gnash/trunk r9738: Revert plugin to snprintf, as it didn't work (forgot make install-plugin). |
Date: |
Mon, 15 Sep 2008 10:11:31 +0200 |
On Mon, Sep 15, 2008 at 08:51:53AM +0200, Benjamin Wolsey wrote:
> ------------------------------------------------------------
> revno: 9738
> committer: Benjamin Wolsey <address@hidden>
> branch nick: trunk
> timestamp: Mon 2008-09-15 08:51:53 +0200
> message:
> Revert plugin to snprintf, as it didn't work (forgot make install-plugin).
> Should be sorted out properly later, but we can't have the plugin not
> working...
> === modified file 'plugin/plugin.cpp'
> --- a/plugin/plugin.cpp 2008-09-14 10:13:18 +0000
> +++ b/plugin/plugin.cpp 2008-09-15 06:51:53 +0000
> @@ -794,12 +794,12 @@
> */
>
> // Prepare width, height and window ID variables
> - std::ostringstream xid, width, height, hostfd;
> -
> - xid << win;
> - width << _width;
> - height << _height;
> - hostfd << c2p_pipe[1];
> - argv[argc++] = xid.str().c_str();
> + argv[argc++] = xid;
argv[x] should be a char*, how could it work assigning
an ostringstream to it ?
--strk;