Stop at the first combining/joiner found and let the caller handle this situation.
// A combining joiner invalidates as slash immediately before it and there is only a preceding slash if count > initial.
if (*count > initial) --(*count);
-
- const f_status_t status = state->status;
-
- private_f_fss_skip_past_combining_joiner(buffer, range, state);
- if (F_status_is_error(state->status)) return;
-
- state->status = status;
}
return;
/**
* Count the number of slashes from the given range in the buffer.
*
- * Use this to helpm determine how to apply slash delimits.
+ * Use this to help determine how to apply slash delimits.
*
* This does not initialize count, instead it only performs addition to line.
*
* This skips past (ignores) NULL (f_fss_placeholder_s).
*
+ * This stops as the first combining or joiner character found.
+ * Thsis does not continue or seek past the first combining or joiner character found.
+ *
* @param buffer
* The string to process.
* @param range
2, // "\\"
1, // "\\"
buffers[15].used + 1, // "F_data_not"
- 4, // "\\́"
- 4, // "\\J"
- 5, // "\\\\́"
- 5, // "\\\\J"
+ 1, // "\\́"
+ 1, // "\\J"
+ 2, // "\\\\́"
+ 2, // "\\\\J"
};
for (uint8_t i = 0; i < 20; ++i) {