summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/mcl/files/mcl-0.53.00-gcc42.patch')
-rw-r--r--games-mud/mcl/files/mcl-0.53.00-gcc42.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-mud/mcl/files/mcl-0.53.00-gcc42.patch b/games-mud/mcl/files/mcl-0.53.00-gcc42.patch
new file mode 100644
index 000000000000..553f3c0fe18f
--- /dev/null
+++ b/games-mud/mcl/files/mcl-0.53.00-gcc42.patch
@@ -0,0 +1,13 @@
+--- OutputWindow.cc
++++ OutputWindow.cc
+@@ -229,8 +229,8 @@
+ highlight.len = strlen(s);
+
+ // Show on the second line rather than under status bar
+- viewpoint = scrollback >? p-width;
+- viewpoint = viewpoint <? canvas;
++ viewpoint = scrollback > p-width ? scrollback : p-width;
++ viewpoint = viewpoint < canvas ? viewpoint : canvas;
+ status->setf("Found string '%s'", s);
+ }
+ }