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:
parent
29bbb3f263
commit
90a2d680e5
2
CHANGES
2
CHANGES
@ -92,6 +92,8 @@ CHANGES IN FLTK 1.3.4 RELEASED: ??? ?? 2016
|
|||||||
|
|
||||||
Bug fixes
|
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
|
- Fixed Windows drag'n'drop not showing insert position if the drop
|
||||||
target is inside the same window or process (STR #3209).
|
target is inside the same window or process (STR #3209).
|
||||||
- Fixed undefined reference building shared cairo library (STR #3276).
|
- Fixed undefined reference building shared cairo library (STR #3276).
|
||||||
|
|||||||
@ -53,12 +53,21 @@ void Fl_Window::_Fl_Window() {
|
|||||||
size_range_set = 0;
|
size_range_set = 0;
|
||||||
minw = maxw = minh = maxh = 0;
|
minw = maxw = minh = maxh = 0;
|
||||||
shape_data_ = NULL;
|
shape_data_ = NULL;
|
||||||
|
|
||||||
#if FLTK_ABI_VERSION >= 10301
|
#if FLTK_ABI_VERSION >= 10301
|
||||||
no_fullscreen_x = 0;
|
no_fullscreen_x = 0;
|
||||||
no_fullscreen_y = 0;
|
no_fullscreen_y = 0;
|
||||||
no_fullscreen_w = w();
|
no_fullscreen_w = w();
|
||||||
no_fullscreen_h = h();
|
no_fullscreen_h = h();
|
||||||
#endif
|
#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);
|
callback((Fl_Callback*)default_callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user