diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-11-19 19:34:41 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-11-19 19:34:41 +0000 |
commit | bb851b48965729c57e82b4aa1875a9293393922a (patch) | |
tree | 028747f5940d4c89b23b8ccfe31cd4c0e3fedcca | |
parent | b93f9db1afd99350f7556bbea503bcb032d442ec (diff) |
repair display.focus pokus; from janjaap@ in pr#3990
-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; } } |