From 86a6ec16bb4b9f029a8c1843c50b00c04839d3e2 Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Tue, 28 May 2002 00:55:01 +0000
Subject: [PATCH] Fixed text scrolling at different resolutions

---
 src/ui/mainscr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui/mainscr.cpp b/src/ui/mainscr.cpp
index 786a1024d..e76fdd35b 100644
--- a/src/ui/mainscr.cpp
+++ b/src/ui/mainscr.cpp
@@ -721,7 +721,7 @@ local void AddMessage(const char *msg)
 
     ptr = message + strlen(message);
 
-    while (VideoTextLength(GameFont, message) >= 440+(VideoWidth-640)/2 ) {
+    while (VideoTextLength(GameFont, message) >= 440+(VideoWidth-640) ) {
 	*--ptr = '\0';
     }