Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
d8dfc212
Commit
d8dfc212
authored
Dec 18, 2000
by
Daniel Egger
Browse files
Second attempt by David Neary to fix bug.
parent
1153f4ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d8dfc212
2000-12-18 Daniel Egger <egger@suse.de>
* plug-ins/ifcompose/ifscompose.c:
Second attempt from David Neary which should work
better.
2000-12-18 Jens Lautenbacher <jtl@gimp.org>
Sven Neumann <sven@gimp.org>
...
...
plug-ins/ifscompose/ifscompose.c
View file @
d8dfc212
...
...
@@ -1354,10 +1354,8 @@ ifs_compose (GimpDrawable *drawable)
num_bands
=
ceil
((
gdouble
)(
width
*
height
*
SQR
(
ifsvals
.
subdivide
)
*
5
)
/
(
1024
*
ifsvals
.
max_memory
));
band_height
=
(
height
/
num_bands
)
+
1
;
/* For bug #9156 - adding 1 guarantees that band_height*num_bands>height
* band_height automatically got rounded down, resulting in a diff
* of a few pixels. */
band_height
=
(
height
+
num_bands
-
1
)
/
num_bands
;
if
(
band_height
>
height
)
band_height
=
height
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment