branch | webgl |
changeset 8841 | 338f7c2bac2c |
parent 8833 | c13ebed437cb |
child 8847 | ff7fbab7cd56 |
--- a/hedgewars/uUtils.pas Wed Apr 03 00:03:46 2013 +0400 +++ b/hedgewars/uUtils.pas Wed Apr 03 00:16:37 2013 +0400 @@ -481,8 +481,12 @@ if (c < #32) or (c > #127) then r:= '#' + inttostr(byte(c)) else - r:= c; - + begin + // some magic for pas2c + r[0]:= #1; + r[1]:= c; + end; + sanitizeCharForLog:= r end;