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 LibDiff: Add new API to generate hunks from two pieces of text 2021-09-17 16:56:59 +00:00
Format.cpp AK+Everywhere: Stop including Vector.h from StringView.h 2021-11-10 21:58:58 +01:00
Format.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Generator.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Generator.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Hunks.cpp LibDiff: Fix error when parsing a 'new' hunk location 2021-12-31 14:12:54 +01:00
Hunks.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00