* changed SetFont to acomodate(eng?) with LayerData's 'font' member witch is now allocated on stack.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4687 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2003-09-15 19:08:07 +00:00
parent 957320d114
commit 260ec753f4
+6 -5
View File
@@ -177,11 +177,8 @@ void Decorator::SetFont(ServerFont *font)
{
if(!font)
return;
if(_layerdata.font)
delete _layerdata.font;
_layerdata.font=new ServerFont(*font);
_layerdata.font = *font;
}
/*!
@@ -605,3 +602,7 @@ void Decorator::_DoLayout(void)
{
}
/*
@log
* changed SetFont to acomodate(eng?) with LayerData's 'font' member witch is now allocated on stack.
*/