From 2008dd972c0fee0c57d41770327059b817b3b142 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Tue, 18 Jan 2005 14:27:04 +0000 Subject: *** empty log message *** --- src/gui/chat.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/chat.cpp') diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 661fbb08..8472a993 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -96,13 +96,13 @@ void ChatBox::draw(gcn::Graphics *graphics) getAbsolutePosition(x, y); - SDL_Rect ScreenRect; - ScreenRect.w = getWidth(); - ScreenRect.h = getHeight(); - ScreenRect.x = x; - ScreenRect.y = y; - Uint32 Color = SDL_MapRGBA(screen->format, 255, 255, 255, 120); - SDL_FillRect(screen, &ScreenRect, Color); + SDL_Rect screenRect; + screenRect.w = getWidth(); + screenRect.h = getHeight(); + screenRect.x = x; + screenRect.y = y; + Uint32 boxColor = SDL_MapRGBA(screen->format, 255, 255, 255, 120); + SDL_FillRect(screen, &screenRect, boxColor); for (iter = chatlog.begin(); iter != chatlog.end(); iter++) { line = *iter; -- cgit v1.2.3-70-g09d2