mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
initialize variable to avoid stupid compiler warning.
2004-02-01 Simon Budig <simon@gimp.org> * app/display/gimpdisplayshell-scale.c: initialize variable to avoid stupid compiler warning.
This commit is contained in:
parent
95ed7031f4
commit
1ab2c64a12
|
@ -1,3 +1,8 @@
|
||||||
|
2004-02-01 Simon Budig <simon@gimp.org>
|
||||||
|
|
||||||
|
* app/display/gimpdisplayshell-scale.c: initialize variable
|
||||||
|
to avoid stupid compiler warning.
|
||||||
|
|
||||||
2004-02-01 Dave Neary <bolsh@gimp.org>
|
2004-02-01 Dave Neary <bolsh@gimp.org>
|
||||||
|
|
||||||
* libgimpwidgets/gimpwidgets.c
|
* libgimpwidgets/gimpwidgets.c
|
||||||
|
|
|
@ -75,7 +75,7 @@ gimp_display_shell_scale_zoom_step (GimpZoomType zoom_type,
|
||||||
gdouble scale)
|
gdouble scale)
|
||||||
{
|
{
|
||||||
gint i, n_presets;
|
gint i, n_presets;
|
||||||
gdouble new_scale;
|
gdouble new_scale = 1.0;
|
||||||
|
|
||||||
/* This table is constructed to have fractions, that approximate
|
/* This table is constructed to have fractions, that approximate
|
||||||
* sqrt(2)^k. This gives a smooth feeling regardless of the starting
|
* sqrt(2)^k. This gives a smooth feeling regardless of the starting
|
||||||
|
|
Loading…
Reference in a new issue