summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/kernel.c
diff options
context:
space:
mode:
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 1c38fa5..dd31047 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() */
OpenPOWER on IntegriCloud