From 9b1ab17c74a69dc26d5a8d5926e7223df3357dc8 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Sun, 22 Dec 2002 06:33:19 +0000 Subject: [PATCH] Fixed clipping --- src/ui/mainscr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/mainscr.cpp b/src/ui/mainscr.cpp index bfa607586..5182974e9 100644 --- a/src/ui/mainscr.cpp +++ b/src/ui/mainscr.cpp @@ -724,8 +724,8 @@ global void DrawMessages(void) for (z = 0; z < MessagesCount; z++) { if (z == 0) { PushClipping(); - SetClipping(TheUI.MapArea.X + 8, TheUI.MapArea.Y + 8, VideoWidth, - VideoHeight); + SetClipping(TheUI.MapArea.X + 8, TheUI.MapArea.Y + 8, VideoWidth - 1, + VideoHeight - 1); } VideoDrawTextClip(TheUI.MapArea.X + 8, TheUI.MapArea.Y + 8 + z * (VideoTextHeight(GameFont) + 1) - MessagesScrollY,