gimp r26460 - in branches/soc-2008-tagging: . app/widgets



Author: aurisj
Date: Sat Aug  9 12:16:38 2008
New Revision: 26460
URL: http://svn.gnome.org/viewvc/gimp?rev=26460&view=rev

Log:
2008-08-09  Aurimas JuÅka  <aurisj svn gnome org>

	* app/widgets/gimptagentry.c: fixed cursor reposition when committing
	tags.



Modified:
   branches/soc-2008-tagging/ChangeLog
   branches/soc-2008-tagging/app/widgets/gimptagentry.c

Modified: branches/soc-2008-tagging/app/widgets/gimptagentry.c
==============================================================================
--- branches/soc-2008-tagging/app/widgets/gimptagentry.c	(original)
+++ branches/soc-2008-tagging/app/widgets/gimptagentry.c	Sat Aug  9 12:16:38 2008
@@ -1716,7 +1716,7 @@
               g_string_append_c (mask, 'w');
             }
 
-          if (cursor_position <= region_end)
+          if (cursor_position >= region_end)
             {
               cursor_position += mask->len - (region_end - region_start);
             }



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