gimp r25877 - in branches/gimp-2-4: . plug-ins/common



Author: martinn
Date: Sun Jun  1 15:10:08 2008
New Revision: 25877
URL: http://svn.gnome.org/viewvc/gimp?rev=25877&view=rev

Log:
2008-06-01  Martin Nordholts  <martinn svn gnome org>

	Merged from trunk:

	* plug-ins/common/gif-load.c (GetCode): Applied patch from Rik
	Snel that fixes loading of .gif files that contains 1-byte data
	blocks. (Bug #535888.)


Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/plug-ins/common/gif-load.c

Modified: branches/gimp-2-4/plug-ins/common/gif-load.c
==============================================================================
--- branches/gimp-2-4/plug-ins/common/gif-load.c	(original)
+++ branches/gimp-2-4/plug-ins/common/gif-load.c	Sun Jun  1 15:10:08 2008
@@ -624,7 +624,7 @@
       return 0;
     }
 
-  if ((curbit + code_size) >= lastbit)
+  while ((curbit + code_size) >= lastbit)
     {
       if (done)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]