[vlc-devel] [PATCH] Allow on-the-fly multi-line marquee

Ilkka Ollakka ileoo at videolan.org
Tue Jul 6 11:38:00 CEST 2010


On Tue, Jul 06, 2010 at 09:56:46AM +0200, Johann Ransay wrote:
> Request for review. Thanks.

> Johann

> > @@ -598,6 +600,37 @@ static void Run( intf_thread_t *p_intf )
> >                  *psz_myarg = '\0';
> >                  psz_myarg ++;

> > +                        /* move remaining characters one index backward */
> > +                        while( *(psz_subst+1) )
> > +                        {
> > +                            *psz_subst = *(psz_subst+1);
> > +                            *psz_subst++;
> > +                        }
> > +                        *psz_subst = 0;

Shouldn't you compare against \0 and set last char as \0 instead of just
0 ?

> This e-mail, and any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information belonging to Planar Systems, Inc.  If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, any attachments thereto, and use of the information contained, is strictly prohibited.  If you have received this e-mail in error, please notify the sender and permanently delete the original and any copy thereof.

I assume all vlc-devel recipients are intended recipients (including
www-archives and all ) ?

-- 
Ilkka Ollakka
"His great aim was to escape from civilization, and, as soon as he had
money, he went to Southern California."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100706/1240f598/attachment.sig>


More information about the vlc-devel mailing list