cvs: gd(GD_2_0) /libgd gd.c

[email protected] ("Pierre-Alain Joye")
Newsgroups php.gd.cvs
Message-ID <cvspajoye1170807687@cvsserver>
pajoye		Wed Feb  7 00:21:27 2007 UTC

  Modified files:              (Branch: GD_2_0)
    /gd/libgd	gd.c 
  Log:
  - ansi/windows build fix, all declarations must be on top (Edin)
  
  
http://cvs.php.net/viewvc.cgi/gd/libgd/gd.c?r1=1.49.2.1&r2=1.49.2.2&diff_format=u
Index: gd/libgd/gd.c
diff -u gd/libgd/gd.c:1.49.2.1 gd/libgd/gd.c:1.49.2.2
--- gd/libgd/gd.c:1.49.2.1	Sat Feb  3 01:00:05 2007
+++ gd/libgd/gd.c	Wed Feb  7 00:21:27 2007
@@ -1,4 +1,4 @@
-/* $Id: gd.c,v 1.49.2.1 2007/02/03 01:00:05 pajoye Exp $ */
+/* $Id: gd.c,v 1.49.2.2 2007/02/07 00:21:27 pajoye Exp $ */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -1680,7 +1680,6 @@
   /* Seek left */
   int leftLimit, rightLimit;
   int i;
-  leftLimit = (-1);
 	int restoreAlphaBleding;
 
   if (border < 0)
@@ -1689,6 +1688,8 @@
       return;
     }
 
+	leftLimit = (-1);
+
 	restoreAlphaBleding = im->alphaBlendingFlag;
 	im->alphaBlendingFlag = 0;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.