diff options
Diffstat (limited to 'Game/Code/Menu/UMenuText.pas')
-rw-r--r-- | Game/Code/Menu/UMenuText.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Game/Code/Menu/UMenuText.pas b/Game/Code/Menu/UMenuText.pas index abf3784c..4cb48cad 100644 --- a/Game/Code/Menu/UMenuText.pas +++ b/Game/Code/Menu/UMenuText.pas @@ -162,6 +162,7 @@ begin //Look for Break before the Break
if (glTextWidth(PChar(Copy(Value, LastBreak, NextPos - LastBreak + 1))) > W) AND (NextPos-LastPos > 1) then
begin
+ isBreak := False;
//Not the First word after Break, so we don't have to break within a word
if (FirstWord > 1) then
begin
@@ -175,6 +176,7 @@ begin end;
end;
+ isBreak := True;
//Add Break from Text
AddBreak(LastBreak, NextPos);
end
|