From 479dcf7e5c79cae48deebb613cd951df7d8d2b46 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 27 Mar 2008 14:51:10 +0000 Subject: Applied patch by peavey and added his name to the ChangeLog some more. --- src/gui/scrollarea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/scrollarea.cpp') diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index cf555ef4..cd83b565 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -86,8 +86,8 @@ void ScrollArea::init() // Load the background skin ResourceManager *resman = ResourceManager::getInstance(); Image *textbox = resman->getImage("graphics/gui/deepbox.png"); - int bggridx[4] = {0, 3, 28, 31}; - int bggridy[4] = {0, 3, 28, 31}; + const int bggridx[4] = {0, 3, 28, 31}; + const int bggridy[4] = {0, 3, 28, 31}; int a = 0, x, y; for (y = 0; y < 3; y++) { -- cgit v1.2.3-60-g2f50