mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-26 09:59:43 +00:00
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.
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Format.cpp | ||
| Format.h | ||
| Generator.cpp | ||
| Generator.h | ||
| Hunks.cpp | ||
| Hunks.h | ||