1c,2c,7c,kc,vc: honor suppress condition for outstring() in swt.c

This commit is contained in:
cinap_lenrek 2015-08-02 14:52:54 +02:00
parent 8234f9d906
commit 29a53a52fd
7 changed files with 12 additions and 0 deletions

View file

@ -200,6 +200,7 @@ EXTERN long* idom;
EXTERN Reg** rpo2r;
EXTERN long maxnr;
EXTERN Prog zprog;
EXTERN int suppress;
EXTERN uchar regused[NREG];
EXTERN uchar aregused[NREG];

View file

@ -226,6 +226,8 @@ outstring(char *s, long n)
{
long r;
if(suppress)
return nstring;
r = nstring;
while(n) {
string[mnstring] = *s++;

View file

@ -216,6 +216,7 @@ EXTERN long* idom;
EXTERN Reg** rpo2r;
EXTERN long maxnr;
EXTERN Prog zprog;
EXTERN int suppress;
EXTERN uchar regused[NREG];
EXTERN uchar aregused[NREG];

View file

@ -306,6 +306,8 @@ outstring(char *s, long n)
{
long r;
if(suppress)
return nstring;
r = nstring;
while(n) {
string[mnstring] = *s++;

View file

@ -144,6 +144,8 @@ outstring(char *s, long n)
{
long r;
if(suppress)
return nstring;
r = nstring;
while(n) {
string[mnstring] = *s++;

View file

@ -128,6 +128,8 @@ outstring(char *s, long n)
{
long r;
if(suppress)
return nstring;
r = nstring;
while(n) {
string[mnstring] = *s++;

View file

@ -124,6 +124,8 @@ outstring(char *s, long n)
{
long r;
if(suppress)
return nstring;
r = nstring;
while(n) {
string[mnstring] = *s++;