diff options
author | 2004-11-19 19:34:40 +0000 | |
---|---|---|
committer | 2004-11-19 19:34:40 +0000 | |
commit | 8e547bc1654d71e7fb24f727dc732f28e2b641c3 (patch) | |
tree | 3fa08133e656904a0a4ac429da534898f6bbe39d | |
parent | sync (diff) | |
download | wireguard-openbsd-8e547bc1654d71e7fb24f727dc732f28e2b641c3.tar.xz wireguard-openbsd-8e547bc1654d71e7fb24f727dc732f28e2b641c3.zip |
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; } } |