Fix a bug in the multilist noted by Brett Lymn. When nothing was selected

from the popup, don't populate the field with a NULL buffer.

Edit the TODO list, removing a few fixed items from my bughunt tonight.
This commit is contained in:
garbled 2001-08-01 09:08:55 +00:00
parent 832c182f1b
commit c63c221b86
2 changed files with 3 additions and 8 deletions

View File

@ -14,12 +14,6 @@ bulk pkgadd
/etc/ftpusers /etc/ftpusers
BUGS: BUGS:
network interfaces (pollux) gets the media type all wrong.
the f4 popup isn't repainting the screen properly the f4 popup isn't repainting the screen properly
multiselection popup causes chaos and destruction when you hit enter without
picking one.
fastpaths leave the terminal unusable after exiting.
required fields, aren't. required fields, aren't.
All of the /etc/*.conf menus need to be updated prior to release. All of the /etc/*.conf menus need to be updated prior to release.
The ypinit stuff is all garbage. It's an interactive command, meaning sushi
can't cope with it.

View File

@ -1,4 +1,4 @@
/* $NetBSD: scanform.c,v 1.18 2001/04/06 07:57:05 garbled Exp $ */ /* $NetBSD: scanform.c,v 1.19 2001/08/01 09:08:55 garbled Exp $ */
/* /*
* Copyright (c) 2000 The NetBSD Foundation, Inc. * Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -530,7 +530,8 @@ my_driver(FORM * form, int c, char *path)
} }
free(otmp); free(otmp);
tmp = buf; tmp = buf;
set_field_buffer(curfield, 0, tmp); if (n)
set_field_buffer(curfield, 0, tmp);
destroyCDKSelection(slist); destroyCDKSelection(slist);
} else if (*tmp == 's') { } else if (*tmp == 's') {
plist = newCDKScroll(cdkscreen, RIGHT, CENTER, RIGHT, plist = newCDKScroll(cdkscreen, RIGHT, CENTER, RIGHT,