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



Author: neo
Date: Tue Feb  5 09:44:02 2008
New Revision: 24805
URL: http://svn.gnome.org/viewvc/gimp?rev=24805&view=rev

Log:
2008-02-05  Sven Neumann  <sven gimp org>

	Merged from trunk:

	* plug-ins/common/mail.c (to64): fixed a bug in the base64 encoding.


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

Modified: branches/gimp-2-4/plug-ins/common/mail.c
==============================================================================
--- branches/gimp-2-4/plug-ins/common/mail.c	(original)
+++ branches/gimp-2-4/plug-ins/common/mail.c	Tue Feb  5 09:44:02 2008
@@ -861,7 +861,7 @@
     {
       gsize step = MIN (1024, len - c);
 
-      bytes = g_base64_encode_step (in, step, TRUE, out, &state, &save);
+      bytes = g_base64_encode_step (in + c, step, TRUE, out, &state, &save);
       fwrite (out, 1, bytes, outfile);
 
       c += step;



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