gimp r25126 - in trunk: . app/core



Author: neo
Date: Wed Mar 19 17:19:37 2008
New Revision: 25126
URL: http://svn.gnome.org/viewvc/gimp?rev=25126&view=rev

Log:
2008-03-19  Sven Neumann  <sven gimp org>

	* app/core/gimppalette-load.c (gimp_palette_load): skip empty lines.


Modified:
   trunk/ChangeLog
   trunk/app/core/gimppalette-load.c

Modified: trunk/app/core/gimppalette-load.c
==============================================================================
--- trunk/app/core/gimppalette-load.c	(original)
+++ trunk/app/core/gimppalette-load.c	Wed Mar 19 17:19:37 2008
@@ -174,7 +174,7 @@
 
   while (! feof (file))
     {
-      if (str[0] != '#')
+      if (str[0] != '#' && str[0] != '\n')
         {
           tok = strtok (str, " \t");
           if (tok)



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