Deleted Added
full compact
index.c (79065) index.c (79304)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
7 * $FreeBSD: head/usr.sbin/sysinstall/index.c 79065 2001-07-02 00:18:04Z dd $
7 * $FreeBSD: head/usr.sbin/sysinstall/index.c 79304 2001-07-05 09:51:09Z kris $
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 509 unchanged lines hidden (view full) ---

525
526void
527pkg_selected(dialogMenuItem *self, int is_selected)
528{
529 PkgNodePtr kp = self->data;
530
531 if (!is_selected || kp->type != PACKAGE)
532 return;
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 509 unchanged lines hidden (view full) ---

525
526void
527pkg_selected(dialogMenuItem *self, int is_selected)
528{
529 PkgNodePtr kp = self->data;
530
531 if (!is_selected || kp->type != PACKAGE)
532 return;
533 msgInfo(kp->desc);
533 msgInfo("%s", kp->desc);
534}
535
536int
537index_menu(PkgNodePtr root, PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll)
538{
539 struct ListPtrs lists;
540 int n, rval, maxname;
541 int curr, max;

--- 223 unchanged lines hidden ---
534}
535
536int
537index_menu(PkgNodePtr root, PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll)
538{
539 struct ListPtrs lists;
540 int n, rval, maxname;
541 int curr, max;

--- 223 unchanged lines hidden ---