Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sushi Incorrect form commands were used for the lef...



details:   https://anonhg.NetBSD.org/src/rev/d1567145f158
branches:  trunk
changeset: 534968:d1567145f158
user:      blymn <blymn%NetBSD.org@localhost>
date:      Wed Aug 07 11:03:45 2002 +0000

description:
Incorrect form commands were used for the left and right char handlers.

diffstat:

 usr.sbin/sushi/scanform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r e038e6e45647 -r d1567145f158 usr.sbin/sushi/scanform.c
--- a/usr.sbin/sushi/scanform.c Wed Aug 07 11:01:20 2002 +0000
+++ b/usr.sbin/sushi/scanform.c Wed Aug 07 11:03:45 2002 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: scanform.c,v 1.25 2002/07/26 08:43:26 jdolecek Exp $       */
+/*      $NetBSD: scanform.c,v 1.26 2002/08/07 11:03:45 blymn Exp $       */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -367,9 +367,9 @@
        case 0x05:              /* ^E */
                return REQ_END_FIELD;
        case KEY_LEFT:
-               return REQ_LEFT_CHAR;
+               return REQ_PREV_CHAR;
        case KEY_RIGHT:
-               return REQ_RIGHT_CHAR;
+               return REQ_NEXT_CHAR;
        case 0x0f:              /* ^O */
                return REQ_INS_LINE;
        case KEY_DC:



Home | Main Index | Thread Index | Old Index