gitweb: Fix bugs in git_search_grep_body: it's length(), not len()
authorJakub Narebski <redacted>
Sat, 23 Feb 2008 21:37:08 +0000 (22:37 +0100)
committerJunio C Hamano <redacted>
Sat, 23 Feb 2008 22:22:01 +0000 (14:22 -0800)
commit9d561ad324fc8942919981f2c80360e22896989c
tree564a936c79c317455045e53971abf2237df76bc3
parent923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c
gitweb: Fix bugs in git_search_grep_body: it's length(), not len()

Use int(<expr>/2) to get integer value for a substring length.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb/gitweb.perl
git clone https://git.99rst.org/PROJECT