diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-13 03:16:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-13 03:16:00 +0300 |
commit | 39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b (patch) | |
tree | 7b730913775d25984689d3308b0d561999662192 /src/gui/widgets/scrollarea.cpp | |
parent | 262ce6d0ee2737e8d24914e4ed35c29cc335060b (diff) | |
download | plus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.gz plus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.bz2 plus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.xz plus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); + Graphics *const g = static_cast<Graphics*>(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); + Graphics *const g = static_cast<Graphics*>(graphics); if (hBackground.grid[4]) { |