diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-12-01 16:58:31 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:34:16 +0200 |
commit | f8de35da65c5d93bb733073cf40da154bc1c0748 (patch) | |
tree | d28c7644739a24402376d24cb0020ea410a9ccff /dis88/dismain.c | |
parent | c218c617b5be443b7968308506969ad2b726d73c (diff) | |
download | dev86-f8de35da65c5d93bb733073cf40da154bc1c0748.tar.gz |
Import Dev86src-0.0.9.tar.gzv0.0.9
Diffstat (limited to 'dis88/dismain.c')
-rw-r--r-- | dis88/dismain.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dis88/dismain.c b/dis88/dismain.c index dc150de..0f00b11 100644 --- a/dis88/dismain.c +++ b/dis88/dismain.c @@ -396,8 +396,11 @@ distext() } if ((c = getlab(N_TEXT)) != NULL) printf("%s",c); - f = optab[j].func; - (*f)(j); + if( j>=0 && j<256 ) + { + f = optab[j].func; + (*f)(j); + } fflush(stdout); } |