diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 4fa2f1d944..94c2a4993f 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1990,6 +1990,8 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, { if (x) (*x) = 0; if (y) (*y) = 0; + if (descent) (*descent) = 0; + if (externalLeading) (*externalLeading) = 0; return; }