]> git.pld-linux.org Git - packages/elinks.git/blob - elinks-0.10.0-0.9.3-typeahead-beginning.patch
- initialize unit_len_ctx
[packages/elinks.git] / elinks-0.10.0-0.9.3-typeahead-beginning.patch
1 diff -urp elinks-0.10.0/src/viewer/text/search.c elinks-0.10.0a/src/viewer/text/search.c
2 --- elinks-0.10.0/src/viewer/text/search.c      2004-12-17 17:19:08.000000000 +0100
3 +++ elinks-0.10.0a/src/viewer/text/search.c     2011-06-06 00:42:15.000000000 +0200
4 @@ -1107,7 +1107,7 @@ search_link_text(struct document *docume
5                 int match_offset = match_link_text(link, text, textlen,
6                                                    case_sensitive);
7  
8 -               if (match_offset >= 0) {
9 +               if (match_offset == 0) {
10                         *offset = match_offset;
11                         return i;
12                 }
This page took 0.091981 seconds and 3 git commands to generate.