ladybird/Userland/Libraries/LibDiff
Conor Byrne faad7a3ed1 LibDiff: Fix error when parsing a 'new' hunk location
If the location started at 0, and / or the length was 0, it would
originally turn out to be a location of { -1, -1 } when LibDiff was
finished parsing, which was incorrect.

To fix this, we only subtract 1 if `start` or `length` isn't 0.
2021-12-31 14:12:54 +01:00
..
CMakeLists.txt
Format.cpp
Format.h
Generator.cpp
Generator.h
Hunks.cpp LibDiff: Fix error when parsing a 'new' hunk location 2021-12-31 14:12:54 +01:00
Hunks.h