summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/misc.c')
-rw-r--r--release/sysinstall/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/misc.c b/release/sysinstall/misc.c
index 028018e..6670d52 100644
--- a/release/sysinstall/misc.c
+++ b/release/sysinstall/misc.c
@@ -1,7 +1,7 @@
/*
* Miscellaneous support routines..
*
- * $Id$
+ * $Id: misc.c,v 1.32 1997/02/22 14:12:08 peter Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -361,7 +361,7 @@ openLayoutDialog(char *helpfile, char *title, int x, int y, int width, int heigh
/* Setup a nice screen for us to splat stuff onto */
draw_box(win, y, x, height, width, dialog_attr, border_attr);
wattrset(win, dialog_attr);
- mvwaddstr(win, y, x + 20, title);
+ mvwaddstr(win, y, x + (COLS - strlen(title)) / 2, title);
}
return win;
}
OpenPOWER on IntegriCloud