[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: |
Benjamin Wolsey |
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:46:20 +0200 |
> > === 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;
It was briefly an ostringstream and is now a char again.
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil