diff options
author | nyan <nyan@FreeBSD.org> | 2006-03-16 15:50:21 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2006-03-16 15:50:21 +0000 |
commit | d544d085d24df141503183b9ece7de8672949180 (patch) | |
tree | 69345a50fee00f79c75b098b54f42cbd79b28500 /usr.sbin/sade | |
parent | d0b5f732592b9a956e543763a8a7ae18c4e2e4f4 (diff) | |
download | FreeBSD-src-d544d085d24df141503183b9ece7de8672949180.zip FreeBSD-src-d544d085d24df141503183b9ece7de8672949180.tar.gz |
- Use jp.pc98 as default keymap for pc98.
- Remove an extra argument.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/keymap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sade/keymap.c b/usr.sbin/sade/keymap.c index de5b8c6..b8f015d 100644 --- a/usr.sbin/sade/keymap.c +++ b/usr.sbin/sade/keymap.c @@ -104,7 +104,11 @@ keymapMenuSelect(dialogMenuItem *self) { snprintf(prefix, sizeof(prefix), "keymap=%s", lang); if ((choice = keymapSetDefault(prefix)) == -1) { - snprintf(prefix, sizeof(prefix), "keymap=us.iso", lang); +#ifdef PC98 + snprintf(prefix, sizeof(prefix), "keymap=jp.pc98"); +#else + snprintf(prefix, sizeof(prefix), "keymap=us.iso"); +#endif if ((choice = keymapSetDefault(prefix)) == -1) choice = 0; } |