summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.h b/src/search.h
index 73eb17a..008d835 100644
--- a/src/search.h
+++ b/src/search.h
@@ -43,8 +43,8 @@ typedef struct t_ts_file_match
{
ts_found_file* file;
int line_nr;
- int word_match_offset;
- int word_match_length;
+ int word_match_offset; // nr of bytes, not codepoints.
+ int word_match_length; // nr of bytes, not codepoints.
utf8_int8_t *line_info;
} ts_file_match;