Commit 2a993238 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

added missing brackets. Fixes bug #303972.

2005-05-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c (WriteBMP): added missing brackets.
	Fixes bug #303972.
parent 6f031407
2005-05-13 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmpwrite.c (WriteBMP): added missing brackets.
Fixes bug #303972.
2005-05-13 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/procedural_db.pdb (procedural_db_query): don't
......
......@@ -265,8 +265,8 @@ WriteBMP (const gchar *filename,
* ------ * ------- * ------ = ------
* inch 2.54 cm m inch
*/
Bitmap_Head.biXPels = (long int) xresolution * 100.0 / 2.54;
Bitmap_Head.biYPels = (long int) yresolution * 100.0 / 2.54;
Bitmap_Head.biXPels = (long int) (xresolution * 100.0 / 2.54);
Bitmap_Head.biYPels = (long int) (yresolution * 100.0 / 2.54);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment