diff options
Diffstat (limited to 'engines/sword25/gfx/panel.cpp')
-rw-r--r-- | engines/sword25/gfx/panel.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sword25/gfx/panel.cpp b/engines/sword25/gfx/panel.cpp index 2de1de133a..6bf31d2fc8 100644 --- a/engines/sword25/gfx/panel.cpp +++ b/engines/sword25/gfx/panel.cpp @@ -41,8 +41,6 @@ namespace Sword25 { -#define BS_LOG_PREFIX "PANEL" - Panel::Panel(RenderObjectPtr<RenderObject> parentPtr, int width, int height, uint color) : RenderObject(parentPtr, RenderObject::TYPE_PANEL), _color(color) { @@ -52,12 +50,12 @@ Panel::Panel(RenderObjectPtr<RenderObject> parentPtr, int width, int height, uin _height = height; if (_width < 0) { - BS_LOG_ERRORLN("Tried to initialise a panel with an invalid width (%d).", _width); + error("Tried to initialise a panel with an invalid width (%d).", _width); return; } if (_height < 0) { - BS_LOG_ERRORLN("Tried to initialise a panel with an invalid height (%d).", _height); + error("Tried to initialise a panel with an invalid height (%d).", _height); return; } |