X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2Futils.pas;h=f61035e5c4ac6a6fbf736df86b64e53901c4550e;hb=5c0e145428d60023677261d107632740cec9342b;hp=c01287f2c53e5fd6f3503292ec25a3ad2a9403dd;hpb=2fa77a7c9667395ef6d4141cde69ff6349bf301e;p=d2df-sdl.git diff --git a/src/shared/utils.pas b/src/shared/utils.pas index c01287f..f61035e 100644 --- a/src/shared/utils.pas +++ b/src/shared/utils.pas @@ -1361,7 +1361,7 @@ var xpos := High(strbuf); strbuf[xpos] := #0; Dec(xpos); repeat - if hex then + if not hex then begin strbuf[xpos] := AnsiChar((n mod 10)+48); Dec(xpos); @@ -1391,7 +1391,7 @@ var xpos := High(strbuf); strbuf[xpos] := #0; Dec(xpos); repeat - if hex then + if not hex then begin strbuf[xpos] := AnsiChar((n mod 10)+48); Dec(xpos);