DEADSOFTWARE

made some class' properties published for Holmes
[d2df-sdl.git] / src / shared / utils.pas
index c01287f2c53e5fd6f3503292ec25a3ad2a9403dd..f61035e5c4ac6a6fbf736df86b64e53901c4550e 100644 (file)
@@ -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);