diff options
Diffstat (limited to 'src/com/fourisland')
-rw-r--r-- | src/com/fourisland/fourpuzzle/window/MessageWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/fourisland/fourpuzzle/window/MessageWindow.java b/src/com/fourisland/fourpuzzle/window/MessageWindow.java index 3272fcc..fd9918c 100644 --- a/src/com/fourisland/fourpuzzle/window/MessageWindow.java +++ b/src/com/fourisland/fourpuzzle/window/MessageWindow.java | |||
@@ -116,7 +116,7 @@ public class MessageWindow implements Renderable { | |||
116 | { | 116 | { |
117 | num = 0; | 117 | num = 0; |
118 | 118 | ||
119 | for (int i=0;i<messages.size();i++) | 119 | for (int i=0;i<Math.min(messages.size(),4);i++) |
120 | { | 120 | { |
121 | num += messages.get(i).length(); | 121 | num += messages.get(i).length(); |
122 | } | 122 | } |