Aric Stewart aric@codeweavers.com writes:
programs/regedit/regedit.c | 2 +- programs/regedit/regproc.c | 19 +++++++++++-------- programs/regedit/regproc.h | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-)
We shouldn't need to seek at all, instead it should be easy to test the first two bytes of the first line before processing it.