Author: sdelcroix
Date: Wed Jan 16 13:09:32 2008
New Revision: 3546
URL: http://svn.gnome.org/viewvc/f-spot?rev=3546&view=rev

Log:
2008-01-16  Stephane Delcroix  <[EMAIL PROTECTED]>

        * src/Imaging/Tiff.cs: fix for bgo #356259. thx Lorenzo.


Modified:
   trunk/ChangeLog
   trunk/src/Imaging/Tiff.cs

Modified: trunk/src/Imaging/Tiff.cs
==============================================================================
--- trunk/src/Imaging/Tiff.cs   (original)
+++ trunk/src/Imaging/Tiff.cs   Wed Jan 16 13:09:32 2008
@@ -438,7 +438,7 @@
                        Charset = charset;
                        // for (int i = 0; i < raw_data.Length; i++)
                        //      System.Console.WriteLine ("{0} - \"{1}\"", 
raw_data [i].ToString ("x"), raw_data [i]);
-                       Value = enc.GetString (raw_data, 8, raw_data.Length - 
8);
+                       Value = enc.GetString (raw_data, 8, raw_data.Length - 
8).Trim('\0');
                }
 
                public byte [] GetBytes (bool is_little)
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to