fix some accidental code corruption caused by my last commit ui-scaling
authorsheepluva
Tue, 15 May 2018 17:05:40 +0200
branchui-scaling
changeset 13391 72bbccf9a715
parent 13390 ec1491bb5acc
child 13392 706b34d0ce60
fix some accidental code corruption caused by my last commit
hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Tue May 15 16:55:37 2018 +0200
+++ b/hedgewars/uChat.pas	Tue May 15 17:05:40 2018 +0200
@@ -320,7 +320,8 @@
 var i: LongWord;
 begin
     // also reload empty input line (as chat size/scaling might have changed)
-    //if InputStr.s <> '' then SetLine(InputStr, InputStr.s, true); for i:= 0 to MaxStrIndex do
+    //if InputStr.s <> '' then
+    SetLine(InputStr, InputStr.s, true);
     for i:= 0 to MaxStrIndex do
         if Strs[i].s <> '' then
             begin