summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-09-29 16:17:07 +0200
committerErich Eckner <git@eckner.net>2015-09-29 16:17:07 +0200
commit8c96738e9bb6dcf45aefa13566824312ff258a8a (patch)
tree975c071a8a86666fa9873650999e0109e3ce7b69
parent732ae84522e531a7917b0ffcb04968755c0b816e (diff)
downloadunits-8c96738e9bb6dcf45aefa13566824312ff258a8a.tar.xz
hexdump zeigt nun Ergebnisse umgekehrt an, sodass es zu einer
Integerzuweisung per $ passt
-rw-r--r--lowlevelunit.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/lowlevelunit.pas b/lowlevelunit.pas
index 0bc4c33..fa4fa4b 100644
--- a/lowlevelunit.pas
+++ b/lowlevelunit.pas
@@ -654,7 +654,7 @@ var
i: longint;
begin
result:='';
- for i:=0 to cnt-1 do
+ for i:=cnt-1 downto 0 do
result:=result+inttohex((pByte(p)+i)^,2);
end;