aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/kernel.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-01-01 03:43:58 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-01-01 03:43:58 +0000
commit738c371d22563551af2ff0936fed8e09fa5f8c19 (patch)
tree5a29b9e618eb6168395065b6c57c1bd661a23bef /gnu/lib/libdialog/kernel.c
parent961c0bd1a8c7bafec6298723745a31364d402fcf (diff)
Notes
Diffstat (limited to 'gnu/lib/libdialog/kernel.c')
-rw-r--r--gnu/lib/libdialog/kernel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c
index 1c38fa5306bd..dd31047ece3f 100644
--- a/gnu/lib/libdialog/kernel.c
+++ b/gnu/lib/libdialog/kernel.c
@@ -85,6 +85,11 @@
#include "colors.h"
#endif
+/* These are two "secret" globals that can be fiddled to make a dialog
+ * come up someplace other than a "centered" calculation for X,Y
+ */
+int DialogX, DialogY;
+
/*
* Do some initialization for dialog
*/
@@ -114,6 +119,7 @@ void init_dialog(void)
/* Set screen to screen attribute */
dialog_clear_norefresh();
+ DialogX = DialogY = 0;
}
/* End of init_dialog() */