w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit da95fde812a6ad6038a391c0f5834600f1786839
parent dad9370c36f22c5f367d347376c1d69b7f252d55
Author: ukai <ukai>
Date:   Mon, 11 Nov 2002 15:22:37 +0000

[w3m-dev 03407] char GlobalKeymap -> unsigned char GlobalKeymap
* fm.h (GlobalKeymap): char->unsigned char
	(EscKeymap): ditto
	(EscBKeymap): ditto
	(EscDKeymap): ditto
	(PcKeymap): ditto
* keybind.c: ditto
* keybind_lynx.c: ditto
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 11+++++++++++
Mfm.h | 10+++++-----
Mkeybind.c | 10+++++-----
Mkeybind_lynx.c | 8++++----
4 files changed, 25 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,16 @@ 2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03407] char GlobalKeymap -> unsigned char GlobalKeymap + * fm.h (GlobalKeymap): char->unsigned char + (EscKeymap): ditto + (EscBKeymap): ditto + (EscDKeymap): ditto + (PcKeymap): ditto + * keybind.c: ditto + * keybind_lynx.c: ditto + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03406] * scripts/Makefile: add AUXBIN_DIR update LIB_DIR, HELP_DIR diff --git a/fm.h b/fm.h @@ -735,12 +735,12 @@ global char MetaRefresh init(FALSE); global char fmInitialized init(FALSE); global char QuietMessage init(FALSE); -extern char GlobalKeymap[]; -extern char EscKeymap[]; -extern char EscBKeymap[]; -extern char EscDKeymap[]; +extern unsigned char GlobalKeymap[]; +extern unsigned char EscKeymap[]; +extern unsigned char EscBKeymap[]; +extern unsigned char EscDKeymap[]; #ifdef __EMX__ -extern char PcKeymap[]; +extern unsigned char PcKeymap[]; #endif extern FuncList w3mFuncList[]; diff --git a/keybind.c b/keybind.c @@ -1,7 +1,7 @@ /* $Id$ */ #include "funcname2.h" -char GlobalKeymap[128] = { +unsigned char GlobalKeymap[128] = { /* C-@ C-a C-b C-c C-d C-e C-f C-g */ #ifdef __EMX__ pcmap, linbeg, movL, nulcmd, nulcmd, linend, movR, curlno, @@ -40,7 +40,7 @@ char GlobalKeymap[128] = { nulcmd, nulcmd, ctrCsrV, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, }; -char EscKeymap[128] = { +unsigned char EscKeymap[128] = { /* C-@ C-a C-b C-c C-d C-e C-f C-g */ nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, /* C-h C-i C-j C-k C-l C-m C-n C-o */ @@ -75,7 +75,7 @@ char EscKeymap[128] = { nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, }; -char EscBKeymap[128] = { +unsigned char EscBKeymap[128] = { /* C-@ C-a C-b C-c C-d C-e C-f C-g */ nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, /* C-h C-i C-j C-k C-l C-m C-n C-o */ @@ -110,7 +110,7 @@ char EscBKeymap[128] = { nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, }; -char EscDKeymap[128] = { +unsigned char EscDKeymap[128] = { /* 0 1 INS 3 4 PgUp, PgDn 7 */ nulcmd, goLineF, mainMn, nulcmd, goLineL, pgBack, pgFore, nulcmd, /* 8 9 10 F1 F2 F3 F4 F5 */ @@ -137,7 +137,7 @@ char EscDKeymap[128] = { }; #ifdef __EMX__ -char PcKeymap[256] = { +unsigned char PcKeymap[256] = { // Null nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, // 0 // S-Tab diff --git a/keybind_lynx.c b/keybind_lynx.c @@ -13,7 +13,7 @@ #include "funcname2.h" -char GlobalKeymap[128] = { +unsigned char GlobalKeymap[128] = { /* C-@ C-a C-b C-c C-d C-e C-f C-g */ _mark, goLineF, backBf, nulcmd, nulcmd, goLineL, followA, curlno, /* C-h C-i C-j C-k C-l C-m C-n C-o */ @@ -48,7 +48,7 @@ char GlobalKeymap[128] = { nulcmd, nulcmd, ctrCsrV, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, }; -char EscKeymap[128] = { +unsigned char EscKeymap[128] = { /* C-@ C-a C-b C-c C-d C-e C-f C-g */ nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, /* C-h C-i C-j C-k C-l C-m C-n C-o */ @@ -83,7 +83,7 @@ char EscKeymap[128] = { nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, }; -char EscBKeymap[128] = { +unsigned char EscBKeymap[128] = { /* C-@ C-a C-b C-c C-d C-e C-f C-g */ nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, /* C-h C-i C-j C-k C-l C-m C-n C-o */ @@ -118,7 +118,7 @@ char EscBKeymap[128] = { nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, }; -char EscDKeymap[128] = { +unsigned char EscDKeymap[128] = { /* 0 1 INS 3 4 PgUp, PgDn 7 */ nulcmd, goLineF, mainMn, nulcmd, goLineL, pgBack, pgFore, nulcmd, /* 8 9 10 F1 F2 F3 F4 F5 */