aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--search.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/search.c b/search.c
index 031d245..ee6058d 100644
--- a/search.c
+++ b/search.c
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: search.c,v 1.8 2008/04/15 20:24:41 oga Exp $
+ * $Id: search.c,v 1.9 2008/05/15 22:18:00 oga Exp $
*/
#include "headers.h"
@@ -104,7 +104,7 @@ search_start(struct menu_q *menuq,
switch (e.type) {
case KeyPress:
if (input_keycodetrans(e.xkey.keycode, e.xkey.state,
- &ctl, &chr, 1) < 0)
+ &ctl, &chr, 1) < 0)
continue;
switch (ctl) {
@@ -184,8 +184,8 @@ search_start(struct menu_q *menuq,
if (TAILQ_EMPTY(&resultq) && list) {
/* Copy them all over. */
TAILQ_FOREACH(mi, menuq, entry)
- TAILQ_INSERT_TAIL(&resultq, mi,
- resultentry);
+ TAILQ_INSERT_TAIL(&resultq, mi,
+ resultentry);
listing = 1;
} else if (mutated)
@@ -209,7 +209,7 @@ search_start(struct menu_q *menuq,
}
dx = MAX(dx, font_width(font, text,
- MIN(strlen(text), MENU_MAXENTRY)));
+ MIN(strlen(text), MENU_MAXENTRY)));
dy += fontheight;
}