mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
initialise gdisp->cursor_x and gdisp->cursor_y to 0 in gdisplay_new() so
2001-06-15 Austin Donnelly <austin@gimp.org> * app/gdisplay.c: initialise gdisp->cursor_x and gdisp->cursor_y to 0 in gdisplay_new() so that we don't get floating point exceptions when attempting to translate to screen co-ords in gdisplay_update_cursor(). Fixes critical Bug #56237.
This commit is contained in:
parent
593043a1b6
commit
e2c857aef5
|
@ -1,3 +1,10 @@
|
|||
2001-06-15 Austin Donnelly <austin@gimp.org>
|
||||
|
||||
* app/gdisplay.c: initialise gdisp->cursor_x and gdisp->cursor_y
|
||||
to 0 in gdisplay_new() so that we don't get floating point
|
||||
exceptions when attempting to translate to screen co-ords in
|
||||
gdisplay_update_cursor(). Fixes critical Bug #56237.
|
||||
|
||||
2001-06-14 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gdisplay.c: fixed a FIXME: set the sensitivity of the
|
||||
|
|
|
@ -169,6 +169,8 @@ gdisplay_new (GimpImage *gimage,
|
|||
gdisp->draw_cursor = FALSE;
|
||||
gdisp->proximity = FALSE;
|
||||
gdisp->have_cursor = FALSE;
|
||||
gdisp->cursor_x = 0;
|
||||
gdisp->cursor_y = 0;
|
||||
gdisp->using_override_cursor = FALSE;
|
||||
|
||||
gdisp->progressid = FALSE;
|
||||
|
|
|
@ -169,6 +169,8 @@ gdisplay_new (GimpImage *gimage,
|
|||
gdisp->draw_cursor = FALSE;
|
||||
gdisp->proximity = FALSE;
|
||||
gdisp->have_cursor = FALSE;
|
||||
gdisp->cursor_x = 0;
|
||||
gdisp->cursor_y = 0;
|
||||
gdisp->using_override_cursor = FALSE;
|
||||
|
||||
gdisp->progressid = FALSE;
|
||||
|
|
|
@ -169,6 +169,8 @@ gdisplay_new (GimpImage *gimage,
|
|||
gdisp->draw_cursor = FALSE;
|
||||
gdisp->proximity = FALSE;
|
||||
gdisp->have_cursor = FALSE;
|
||||
gdisp->cursor_x = 0;
|
||||
gdisp->cursor_y = 0;
|
||||
gdisp->using_override_cursor = FALSE;
|
||||
|
||||
gdisp->progressid = FALSE;
|
||||
|
|
Loading…
Reference in a new issue