fix crash due to wrong argument in the (almost useless)
DECRQUPSS escape sequence
This commit is contained in:
parent
2b097fd2fc
commit
f9773705b1
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: wsemul_vt100_subr.c,v 1.12 2003/01/20 05:30:10 simonb Exp $ */
|
/* $NetBSD: wsemul_vt100_subr.c,v 1.13 2003/04/02 17:48:59 drochner Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998
|
* Copyright (c) 1998
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: wsemul_vt100_subr.c,v 1.12 2003/01/20 05:30:10 simonb Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: wsemul_vt100_subr.c,v 1.13 2003/04/02 17:48:59 drochner Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -384,7 +384,7 @@ wsemul_vt100_handle_csi(struct wsemul_vt100_emuldata *edp, u_char c)
|
||||||
|
|
||||||
case A2('&', 'u'): /* DECRQUPSS request user preferred
|
case A2('&', 'u'): /* DECRQUPSS request user preferred
|
||||||
supplemental set */
|
supplemental set */
|
||||||
wsdisplay_emulinput(edp->emulcookie, "\033P0!u%5\033\\", 9);
|
wsdisplay_emulinput(edp->cbcookie, "\033P0!u%5\033\\", 9);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '@': /* ICH insert character VT300 only */
|
case '@': /* ICH insert character VT300 only */
|
||||||
|
|
Loading…
Reference in New Issue