Fix valgrind warning (uninitialized variable) in Fl_Window.

Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2016-02-09 01:11:03 +00:00
parent 29bbb3f263
commit 90a2d680e5
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -92,6 +92,8 @@ CHANGES IN FLTK 1.3.4 RELEASED: ??? ?? 2016
Bug fixes
- Fixed valgrind warning (uninitialized variable) in Fl_Window.
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3.
- Fixed Windows drag'n'drop not showing insert position if the drop
target is inside the same window or process (STR #3209).
- Fixed undefined reference building shared cairo library (STR #3276).
+9
View File
@@ -53,12 +53,21 @@ void Fl_Window::_Fl_Window() {
size_range_set = 0;
minw = maxw = minh = maxh = 0;
shape_data_ = NULL;
#if FLTK_ABI_VERSION >= 10301
no_fullscreen_x = 0;
no_fullscreen_y = 0;
no_fullscreen_w = w();
no_fullscreen_h = h();
#endif
#if FLTK_ABI_VERSION >= 10303
fullscreen_screen_top = -1;
fullscreen_screen_bottom = -1;
fullscreen_screen_left = -1;
fullscreen_screen_right = -1;
#endif
callback((Fl_Callback*)default_callback);
}