+2003-03-05 Max Bowsher <maxb@ukf.net>
+
+ * netio.cc (save_dialog): Allocate an empty string if the password is
+ null, so that an empty password is accepted elsewhere in setup.
+ (check_if_enable_ok): An empty password is OK.
+
2003-03-05 Brian Keener <bkeener@thesoftwaresource.com>
- * PickView.cc (PickView::views): Add two new views for Skipped
+ * PickView.cc (PickView::views): Add two new views for Skipped
packages and Installed Packages not requiring update.
(PickView::set_headers () ): Ditto.
(PickView::clear_view (void) ): Ditto.
(PickView::views::caption () ): Add two new captions for the new
views added for Skipped and Installed Packages.
(PickView::scroll () ): Modify Scroll Bar property to Disable
- instead of disappearing when there is nothing to Scroll.
+ instead of disappearing when there is nothing to Scroll.
* PickView.h: Add two new views for Skipped packages and Installed
packages to public class view.
* choose.cc (list_click () ): Modify Scroll Bar property to Disable
- instead of disappearing when there is nothing to Scroll.
+ instead of disappearing when there is nothing to Scroll.
(listview_proc () ): Ditto.
(set_view_mode): Add two new views for Skipped Packages and Installed
Packages not requiring update. Modify Scroll Bar property to Disable
check_if_enable_ok (HWND h)
{
int e = 0;
- if (*user && *passwd)
+ if (*user)
e = 1;
EnableWindow (GetDlgItem (h, IDOK), e);
}
{
*user = eget (h, IDC_NET_USER, *user);
*passwd = eget (h, IDC_NET_PASSWD, *passwd);
+ if (! *passwd) {
+ *passwd = new char[1];
+ passwd[0] = '\0';
+ }
}
static BOOL