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

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

# Line 310 | Line 310 | begin
310        str := '';
311        if hex.SelCount = 0 then
312        begin
313 <        while (hex.Data[hex.SelStart + j] > 0) and ((hex.SelStart + j) < hex.DataSize) do
313 >        while (hex.SelStart + j) < hex.DataSize do
314          begin
315 +          if hex.Data[hex.SelStart + j] = 0 then
316 +            Break;
317            if hex.Data[hex.selstart + j] >= 32 then
318              str := str + Char(hex.Data[hex.SelStart + j])
319            else

Diff Legend

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