diff options
-rw-r--r-- | sbin/wsconsctl/display.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/wsconsctl/display.c b/sbin/wsconsctl/display.c index d0eb4a3b01d..54dec0881e1 100644 --- a/sbin/wsconsctl/display.c +++ b/sbin/wsconsctl/display.c @@ -1,4 +1,4 @@ -/* $OpenBSD: display.c,v 1.9 2003/07/10 00:00:58 david Exp $ */ +/* $OpenBSD: display.c,v 1.10 2004/11/19 19:34:40 mickey Exp $ */ /* $NetBSD: display.c,v 1.1 1998/12/28 14:01:16 hannken Exp $ */ /*- @@ -143,7 +143,8 @@ display_get_values(const char *pre, int fd) pc->min = param.min; pc->cur = param.curval; pc->max = param.max; - } + } else if (ptr == &gscr) + focus = gscr.idx; } } |