links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: df9ba351b04742bc3c3d62c0e03f76e31d338805
Parent: e8518a3c3758cd93ceebf338cbcc4df5c204b285
Author: opask
Date:   Thu, 16 Aug 2018 21:46:56 -0600

remove codepage.h

Diffstat:
Dcodepage.h | 1-
Mlanguage.c | 6+++---
Mlinks.h | 2--
3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/codepage.h b/codepage.h @@ -1 +0,0 @@ -#define N_CODEPAGES 1 diff --git a/language.c b/language.c @@ -18,19 +18,19 @@ unsigned char dummyarray[T__N_TEXTS]; #include "language.inc" -static unsigned char **translation_array[N_CODEPAGES]; +static unsigned char **translation_array[1]; void init_trans(void) { int j; - for (j = 0; j < N_CODEPAGES; j++) + for (j = 0; j < 1; j++) translation_array[j] = NULL; } void shutdown_trans(void) { int j, k; - for (j = 0; j < N_CODEPAGES; j++) + for (j = 0; j < 1; j++) if (translation_array[j]) { for (k = 0; k < T__N_TEXTS; k++) { unsigned char *txt = translation_array[j][k]; diff --git a/links.h b/links.h @@ -2825,8 +2825,6 @@ extern tcount gamma_stamp; /* charsets.c */ -#include "codepage.h" - extern int utf8_table; struct conv_table {