gimp r27192 - in trunk: . app/core



Author: neo
Date: Thu Oct  9 13:24:50 2008
New Revision: 27192
URL: http://svn.gnome.org/viewvc/gimp?rev=27192&view=rev

Log:
2008-10-09  Sven Neumann  <sven sven>

	* app/core/gimp-user-install.c (gimp_user_install_detect_old):
	use GIMP_MINOR_VERSION to determine the version to migrate from.



Modified:
   trunk/ChangeLog
   trunk/app/core/gimp-user-install.c

Modified: trunk/app/core/gimp-user-install.c
==============================================================================
--- trunk/app/core/gimp-user-install.c	(original)
+++ trunk/app/core/gimp-user-install.c	Thu Oct  9 13:24:50 2008
@@ -212,7 +212,7 @@
     {
       gint i;
 
-      for (i = 4; i >= 0; i -= 2)
+      for (i = (GIMP_MINOR_VERSION & ~1); i >= 0; i -= 2)
         {
           /*  we assume that GIMP_APP_VERSION is in the form '2.x'  */
           g_snprintf (version + 2, 2, "%d", i);



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