From 39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 13 Sep 2012 03:16:00 +0300 Subject: Fix code style. --- src/gui/widgets/scrollarea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/scrollarea.cpp') diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index bc0375601..9d8be9717 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -394,7 +394,7 @@ void ScrollArea::drawRightButton(gcn::Graphics *const graphics) void ScrollArea::drawVBar(gcn::Graphics *const graphics) { const gcn::Rectangle dim = getVerticalBarDimension(); - Graphics *g = static_cast(graphics); + Graphics *const g = static_cast(graphics); if (vBackground.grid[4]) { @@ -417,7 +417,7 @@ void ScrollArea::drawVBar(gcn::Graphics *const graphics) void ScrollArea::drawHBar(gcn::Graphics *const graphics) { const gcn::Rectangle dim = getHorizontalBarDimension(); - Graphics *g = static_cast(graphics); + Graphics *const g = static_cast(graphics); if (hBackground.grid[4]) { -- cgit v1.2.3-60-g2f50