Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/slipstream_inline_dots.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ size_t slipstream_inline_dotify(char * __restrict__ buf, size_t buflen, size_t l

// Move characters right-to-left, inserting dots
while (current_pos > 0) {
if (current_pos == next_dot) {
if (current_pos == next_dot && next_dot != len) {
*dst-- = '.'; // Dot. Because rules are rules, even for dots.
next_dot -= 57; // Next dot is 57 chars back.
current_pos--; // Account for the char space the dot took.
Expand Down