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

In case TPolyLine::SetOption hasbeen called and the Draw function

is called with a blank option, the internal fOption is used.


git-svn-id: http://root.cern.ch/svn/root/trunk@2346 27541ba8-7e3a-0410-8455-c3a389f83636
parent bf6ea7bd
No related branches found
No related tags found
No related merge requests found
// @(#)root/graf:$Name: $:$Id: TPolyLine.cxx,v 1.5 2000/12/13 15:13:50 brun Exp $
// @(#)root/graf:$Name: $:$Id: TPolyLine.cxx,v 1.6 2001/04/10 06:25:13 brun Exp $
// Author: Rene Brun 12/12/94
/*************************************************************************
......@@ -369,7 +369,8 @@ void TPolyLine::Paint(Option_t *option)
{
//*-*-*-*-*-*-*-*-*Paint this polyline with its current attributes*-*-*-*-*-*-*
//*-* ===============================================
PaintPolyLine(fN, fX, fY, option);
if (strlen(option) > 0) PaintPolyLine(fN, fX, fY, option);
else PaintPolyLine(fN, fX, fY, fOption.Data());
}
//______________________________________________________________________________
......
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