Skip to content
Snippets Groups Projects
Commit 4afd1339 authored by Rene Brun's avatar Rene Brun
Browse files

In TPaveLabel::Paint, use the internal option GetOption in case

the argument option is null.


git-svn-id: http://root.cern.ch/svn/root/trunk@7511 27541ba8-7e3a-0410-8455-c3a389f83636
parent 90608287
No related branches found
No related tags found
No related merge requests found
// @(#)root/graf:$Name: $:$Id: TPaveLabel.cxx,v 1.13 2002/10/28 15:38:32 brun Exp $
// @(#)root/graf:$Name: $:$Id: TPaveLabel.cxx,v 1.14 2002/10/31 07:27:35 brun Exp $
// Author: Rene Brun 17/10/95
/*************************************************************************
......@@ -109,7 +109,7 @@ void TPaveLabel::Paint(Option_t *option)
//*-* Convert from NDC to pad coordinates
TPave::ConvertNDCtoPad();
PaintPaveLabel(fX1, fY1, fX2, fY2, GetLabel(), option);
PaintPaveLabel(fX1, fY1, fX2, fY2, GetLabel(), strlen(option)?option:GetOption());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment