added a O_BINARY to make sure that images are loaded correctly

2005-06-03  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added a O_BINARY to make sure
	that images are loaded correctly
This commit is contained in:
Michael Schumacher 2005-06-04 08:46:48 +00:00 committed by Michael Schumacher
parent 703125db20
commit 4da086d48c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-03 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/helpbrowser/dialog.c: added a O_BINARY to make sure
that images are loaded correctly
2005-06-03 Manish Singh <yosh@gimp.org>
* libgimp/gimpdrawablecombobox.c: create the layer combo with the

View File

@ -866,7 +866,7 @@ request_url (HtmlDocument *doc,
if (filename)
{
gint fd = g_open (filename, O_RDONLY, 0);
gint fd = g_open (filename, O_RDONLY|O_BINARY, 0);
if (fd != -1)
{