ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Tools/BinEdit.pas
(Generate patch)

Comparing oup/current/Tools/BinEdit.pas (file contents):
Revision 113 by alloc, Sun Feb 25 17:20:22 2007 UTC vs.
Revision 174 by alloc, Wed May 2 15:16:00 2007 UTC

# Line 467 | Line 467 | begin
467        str := '';
468        if hex.SelCount = 0 then
469        begin
470 <        while (hex.Data[hex.SelStart + j] > 0) and ((hex.SelStart + j) < hex.DataSize) do
470 >        while (hex.SelStart + j) < hex.DataSize do
471          begin
472 +          if hex.Data[hex.SelStart + j] = 0 then
473 +            Break;
474            if hex.Data[hex.selstart + j] >= 32 then
475              str := str + Char(hex.Data[hex.SelStart + j])
476            else

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)