From 0f62e962c9c41322a415cabb970819888e01a34a Mon Sep 17 00:00:00 2001 From: Robear Selwans Date: Sun, 3 May 2026 23:30:34 +0300 Subject: [PATCH] Fixed str - find_first_empty_query --- ev_str.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ev_str.h b/ev_str.h index 2f19d10..3a27fb2 100644 --- a/ev_str.h +++ b/ev_str.h @@ -545,6 +545,9 @@ __evstring_findFirst_impl( .offset = ~0ull }; + if(query.len == 0) + return result; + for(u64 i = text.offset; i < text.offset + text.len; i++) { if(text.data[i] == query.data[query.offset + found_progress]) found_progress++;