string_impl #2

Merged
marco merged 8 commits from string_impl into master 2026-03-16 09:55:28 +01:00
Showing only changes of commit 086446039b - Show all commits

View File

@@ -432,8 +432,9 @@ string_result_t string_eq(const string_t *x, const string_t *y, bool case_sensit
} }
if (x->char_count != y->char_count) { if (x->char_count != y->char_count) {
result.status = STRING_ERR_INVALID; result.value.is_equ = false;
SET_MSG(result, "Strings differ in length"); result.status = STRING_OK;
SET_MSG(result, "Comparison completed successfully");
return result; return result;
} }