summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_GDI_Printer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_GDI_Printer.cxx b/src/Fl_GDI_Printer.cxx
index edeb86ef6..7247da350 100644
--- a/src/Fl_GDI_Printer.cxx
+++ b/src/Fl_GDI_Printer.cxx
@@ -160,7 +160,7 @@ void Fl_System_Printer::absolute_printable_rect(int *x, int *y, int *w, int *h)
void Fl_System_Printer::margins(int *left, int *top, int *right, int *bottom)
{
- int x, y, w, h;
+ int x = 0, y = 0, w = 0, h = 0;
absolute_printable_rect(&x, &y, &w, &h);
if (left) *left = x;
if (top) *top = y;