commit | 5561d22f19b8ec671f514f5daae7e9a3a2491502 | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Mon Sep 18 19:57:57 2017 -0500 |
committer | Benno Schulenberg <bensberg@telfort.nl> | Tue Sep 19 21:08:05 2017 +0200 |
tree | 7d6d3bb46dad56a479b18348c3bbddffeda9e325 | |
parent | aa45994bbbe1000ad121cffd6580e2e462d6f707 [diff] |
search: trim a failed search string for width instead of length When reducing the search string to at most half the screen width, it should employ its width in columns, not its length in bytes. Also adjust the type of a variable. This fixes http://savannah.gnu.org/bugs/?52057.