mirror of https://github.com/GNOME/gimp.git
plug-ins/sinus/sinus.c: applied Thomas' 1 liner to fix sinus for tilable.
This commit is contained in:
parent
3ee24c2f2e
commit
22ffec61bd
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Feb 14 4:28:00 CST 1999 Seth Burgess <sjburges@gimp.org>
|
||||||
|
* plug-ins/sinus/sinus.c: changed macro definition supplied by
|
||||||
|
Thomas to allow tilable sinus again.
|
||||||
|
|
||||||
Sun Feb 14 23:11:30 CET 1999 Marc Lehmann <pcg@goof.com>
|
Sun Feb 14 23:11:30 CET 1999 Marc Lehmann <pcg@goof.com>
|
||||||
|
|
||||||
* libgimp/gimptile.c (gimp_tile_cache_ntiles): Round up, not down,
|
* libgimp/gimptile.c (gimp_tile_cache_ntiles): Round up, not down,
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
#define RAND_MAX 2147483647
|
#define RAND_MAX 2147483647
|
||||||
#endif /* RAND_MAX */
|
#endif /* RAND_MAX */
|
||||||
|
|
||||||
#define ROUND_TO_INT(val) ((val) + 0.5)
|
#define ROUND_TO_INT(val) ((int) ((val) + 0.5))
|
||||||
|
|
||||||
typedef gdouble colRGBA[4];
|
typedef gdouble colRGBA[4];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue