Re: [PHP-DEV] [PATCH] fix Warning in image2wbmp

2004-02-22 Thread Nuno Lopes
Sorry Ilia, but it isn't. Your change only sets the parameter to 0 when you specify an invalid threshold. When you don't specify the threshold, it will throw a warning because the default is -1 (invalid). Nuno > This is already addressed in CVS. > > Ilia > > On February 22, 2004 06:12 am, Nuno L

Re: [PHP-DEV] [PATCH] fix Warning in image2wbmp

2004-02-22 Thread Ilia Alshanetsky
This is already addressed in CVS. Ilia On February 22, 2004 06:12 am, Nuno Lopes wrote: > Hello, > > Here is a small patch to fix a warning in image2wbmp() when you call that > function without the optional parameters. > > > Nuno > > > - > reproduce script: > $image = ima

[PHP-DEV] [PATCH] fix Warning in image2wbmp

2004-02-22 Thread Nuno Lopes
Hello, Here is a small patch to fix a warning in image2wbmp() when you call that function without the optional parameters. Nuno - reproduce script: Index: gd.c === RCS file: /repository/php-src/ext/gd/gd.c