summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/X11/Fl_X11_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.cxx b/src/drivers/X11/Fl_X11_Screen_Driver.cxx
index 90a838126..539fdfdb3 100644
--- a/src/drivers/X11/Fl_X11_Screen_Driver.cxx
+++ b/src/drivers/X11/Fl_X11_Screen_Driver.cxx
@@ -786,7 +786,7 @@ Fl_RGB_Image *Fl_X11_Screen_Driver::read_win_rectangle(int X, int Y, int w, int
if (!image) {
// fetch absolute coordinates
- int dx, dy, sx, sy, sw, sh;
+ int dx = 0, dy = 0, sx = 0, sy = 0, sw = 0, sh = 0;
Window child_win;
if (win) {