# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |