* libdocument/ev-file-helpers.c: (get_mime_type_from_data): Don't use
more bytes from buffer than were read from the file.
svn path=/trunk/; revision=3437
+2009-02-13 Christian Persch <chpe@gnome.org>
+
+ * libdocument/ev-file-helpers.c: (get_mime_type_from_data): Don't use
+ more bytes from buffer than were read from the file.
+
2009-02-15 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* properties/ev-properties-view.c (set_property):
return NULL;
return g_content_type_guess (NULL, /* no filename */
- buffer, 1024,
+ buffer, size_read,
NULL);
}