Skip to content
Snippets Groups Projects
Commit 51eac6fa authored by rswindell's avatar rswindell
Browse files

Fix bug reported by Mindless Automation: sometimes counld not set "Intercept

I/O" option to "Standard" for external online progarms (doors).
External editor "Intercept I/O" option display "Standard" instead of "Yes".
parent 5cdf099d
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* * * *
* Copyright 2010 Rob Swindell - http://www.synchro.net/copyright.html * * Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html *
* * * *
* This program is free software; you can redistribute it and/or * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License * * modify it under the terms of the GNU General Public License *
...@@ -1114,7 +1114,7 @@ set this option to `No`. ...@@ -1114,7 +1114,7 @@ set this option to `No`.
switch(uifc.list(WIN_MID|WIN_SAV,0,0,0,&k,0,"Intercept I/O" switch(uifc.list(WIN_MID|WIN_SAV,0,0,0,&k,0,"Intercept I/O"
,opt)) { ,opt)) {
case 0: /* Standard I/O */ case 0: /* Standard I/O */
if(cfg.xtrn[i]->misc&(XTRN_STDIO|XTRN_CONIO) != XTRN_STDIO) { if((cfg.xtrn[i]->misc&(XTRN_STDIO|XTRN_CONIO)) != XTRN_STDIO) {
cfg.xtrn[i]->misc|=XTRN_STDIO; cfg.xtrn[i]->misc|=XTRN_STDIO;
cfg.xtrn[i]->misc&=~XTRN_CONIO; cfg.xtrn[i]->misc&=~XTRN_CONIO;
uifc.changes=1; uifc.changes=1;
...@@ -1616,7 +1616,7 @@ This is the internal code for the external editor. ...@@ -1616,7 +1616,7 @@ This is the internal code for the external editor.
sprintf(opt[k++],"%-32.32s%.40s","Command Line",cfg.xedit[i]->rcmd); sprintf(opt[k++],"%-32.32s%.40s","Command Line",cfg.xedit[i]->rcmd);
sprintf(opt[k++],"%-32.32s%.40s","Access Requirements",cfg.xedit[i]->arstr); sprintf(opt[k++],"%-32.32s%.40s","Access Requirements",cfg.xedit[i]->arstr);
sprintf(opt[k++],"%-32.32s%s%s","Intercept I/O" sprintf(opt[k++],"%-32.32s%s%s","Intercept I/O"
,cfg.xedit[i]->misc&XTRN_STDIO ? "Yes" ,cfg.xedit[i]->misc&XTRN_STDIO ? "Standard"
:cfg.xedit[i]->misc&XTRN_CONIO ? "Console":"No" :cfg.xedit[i]->misc&XTRN_CONIO ? "Console":"No"
,(cfg.xedit[i]->misc&(XTRN_STDIO|WWIVCOLOR)) ,(cfg.xedit[i]->misc&(XTRN_STDIO|WWIVCOLOR))
==(XTRN_STDIO|WWIVCOLOR) ? ", WWIV Color" : nulstr); ==(XTRN_STDIO|WWIVCOLOR) ? ", WWIV Color" : nulstr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment