summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/misc.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-03-09 22:25:49 +0000
committerjkh <jkh@FreeBSD.org>1997-03-09 22:25:49 +0000
commit636598f5615bc6304ca5a939852a221e5a7ce077 (patch)
tree509b2cf3a856a0a80a6eeee4f35cd1e198b0c41b /usr.sbin/sade/misc.c
parent1be4650826e4a5f20a6ecee1f3835d0f86388e58 (diff)
downloadFreeBSD-src-636598f5615bc6304ca5a939852a221e5a7ce077.zip
FreeBSD-src-636598f5615bc6304ca5a939852a221e5a7ce077.tar.gz
Add a registration screen so we can finally start counting our little user
puppies.
Diffstat (limited to 'usr.sbin/sade/misc.c')
-rw-r--r--usr.sbin/sade/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/misc.c b/usr.sbin/sade/misc.c
index 028018e..6670d52 100644
--- a/usr.sbin/sade/misc.c
+++ b/usr.sbin/sade/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