summaryrefslogtreecommitdiffstats
path: root/robots/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'robots/query.c')
-rw-r--r--robots/query.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/robots/query.c b/robots/query.c
index f3d885de..2c584e27 100644
--- a/robots/query.c
+++ b/robots/query.c
@@ -1,4 +1,4 @@
-/* $NetBSD: query.c,v 1.7 2009/07/20 05:44:02 dholland Exp $ */
+/* $NetBSD: query.c,v 1.8 2009/07/20 06:00:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,11 +34,11 @@
#if 0
static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: query.c,v 1.7 2009/07/20 05:44:02 dholland Exp $");
+__RCSID("$NetBSD: query.c,v 1.8 2009/07/20 06:00:56 dholland Exp $");
#endif
#endif /* not lint */
-# include "robots.h"
+#include "robots.h"
/*
* query:
@@ -47,8 +47,8 @@ __RCSID("$NetBSD: query.c,v 1.7 2009/07/20 05:44:02 dholland Exp $");
int
query(const char *prompt)
{
- int c, retval;
- int y, x;
+ int c, retval;
+ int y, x;
getyx(stdscr, y, x);
move(Y_PROMPT, X_PROMPT);