summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dmenu.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-09-17 16:18:22 +0000
committerpst <pst@FreeBSD.org>1997-09-17 16:18:22 +0000
commit4f718b5d5dce425cd7d4b8dffc42ead31b97e8be (patch)
tree65dfc78a88a3e556a4910bd8604818834a37b366 /usr.sbin/sysinstall/dmenu.c
parent0dfe9b61e4cbf3786d7f51e0703645e80c84ef26 (diff)
downloadFreeBSD-src-4f718b5d5dce425cd7d4b8dffc42ead31b97e8be.zip
FreeBSD-src-4f718b5d5dce425cd7d4b8dffc42ead31b97e8be.tar.gz
Put all variables in VAR_ #define's to force a single location for all
of these magic knobs. This is purely cosmetic and a documentation issue so we don't have to glop through the source code looking for gems.
Diffstat (limited to 'usr.sbin/sysinstall/dmenu.c')
-rw-r--r--usr.sbin/sysinstall/dmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dmenu.c b/usr.sbin/sysinstall/dmenu.c
index 3f76977..c806ab9 100644
--- a/usr.sbin/sysinstall/dmenu.c
+++ b/usr.sbin/sysinstall/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.32 1997/02/22 14:11:35 peter Exp $
+ * $Id: dmenu.c,v 1.33 1997/06/13 14:21:19 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -115,7 +115,7 @@ dmenuSetKmapVariable(dialogMenuItem *tmp)
int err;
variable_set((char *)tmp->data);
- lang = variable_get("keymap");
+ lang = variable_get(VAR_KEYMAP);
if (lang != NULL)
{
err = loadKeymap(lang);
OpenPOWER on IntegriCloud