Fixed uninitialised variable.

This commit is contained in:
Matthias Melcher 2022-11-09 01:34:52 +01:00
parent e6c3cae6f2
commit 3ff8a4ae8a

View File

@ -277,7 +277,7 @@ void Fl_Window::show(int argc, char **argv) {
// note: background_pixel is no longer used since 1.4.0, but anyway ...
// set colors first, so background_pixel is correct:
static char beenhere;
static char beenhere = 0;
if (!beenhere) {
if (geometry) {
int fl = 0, gx = x(), gy = y(); unsigned int gw = w(), gh = h();