From 739e785ca54f0444bce978c97c207da39e264826 Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 6 Feb 1999 08:45:20 +0000 Subject: Ack! Correct a typo which crept into here and reshuffle the index back into alphabetical order. --- usr.sbin/sade/dmenu.c | 4 ++-- usr.sbin/sade/menus.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/sade') diff --git a/usr.sbin/sade/dmenu.c b/usr.sbin/sade/dmenu.c index 28e1f3a..f83fada 100644 --- a/usr.sbin/sade/dmenu.c +++ b/usr.sbin/sade/dmenu.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: dmenu.c,v 1.38 1999/02/05 22:15:48 jkh Exp $ + * $Id: dmenu.c,v 1.39 1999/02/05 22:25:13 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -88,7 +88,7 @@ dmenuExit(dialogMenuItem *tmp) int dmenuSetVariable(dialogMenuItem *tmp) { - variable_set((char *)tmp->data, *tmp != '_'); + variable_set((char *)tmp->data, *((char *)tmp->data) != '_'); return DITEM_SUCCESS; } diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index fe75fa0..20d5471 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: menus.c,v 1.184 1999/02/05 09:54:59 jkh Exp $ + * $Id: menus.c,v 1.185 1999/02/05 22:15:50 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -239,11 +239,11 @@ DMenu MenuIndex = { { "Doc, Copyright", "The distribution copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" }, { "Doc, Release", "The distribution release notes.", NULL, dmenuDisplayFile, NULL, "RELNOTES" }, { "Doc, HTML", "The HTML documentation menu.", NULL, docBrowser }, + { "Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables }, { "Emergency shell", "Start an Emergency Holographic shell.", NULL, installFixitHoloShell }, { "Fdisk", "The disk Partition Editor", NULL, diskPartitionEditor }, { "Fixit", "Repair mode with CDROM or fixit floppy.", NULL, dmenuSubmenu, NULL, &MenuFixit }, { "FTP sites", "The FTP mirror site listing.", NULL, dmenuSubmenu, NULL, &MenuMediaFTP }, - { "Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables }, { "Gateway", "Set flag to route packets between interfaces.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" }, { "HTML Docs", "The HTML documentation menu", NULL, docBrowser }, { "Install, Novice", "A novice system installation.", NULL, installNovice }, -- cgit v1.1