Oops, forgot one change when DDB is defined.

This commit is contained in:
Søren Schmidt 1995-01-13 17:13:13 +00:00
parent b9921222a2
commit 2a13b58b61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5572
3 changed files with 6 additions and 6 deletions

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.90 1995/01/12 20:14:28 ache Exp $
* $Id: syscons.c,v 1.91 1995/01/13 03:19:22 ache Exp $
*/
#include "sc.h"
@ -2693,7 +2693,7 @@ scgetc(int noblock)
case DBG:
#ifdef DDB /* try to switch to console 0 */
if (cur_console->smode.mode == VT_AUTO &&
console[0].smode.mode == VT_AUTO)
console[0]->smode.mode == VT_AUTO)
switch_scr(cur_console, 0);
Debugger("manual escape to debugger");
return(NOKEY);

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.90 1995/01/12 20:14:28 ache Exp $
* $Id: syscons.c,v 1.91 1995/01/13 03:19:22 ache Exp $
*/
#include "sc.h"
@ -2693,7 +2693,7 @@ scgetc(int noblock)
case DBG:
#ifdef DDB /* try to switch to console 0 */
if (cur_console->smode.mode == VT_AUTO &&
console[0].smode.mode == VT_AUTO)
console[0]->smode.mode == VT_AUTO)
switch_scr(cur_console, 0);
Debugger("manual escape to debugger");
return(NOKEY);

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.90 1995/01/12 20:14:28 ache Exp $
* $Id: syscons.c,v 1.91 1995/01/13 03:19:22 ache Exp $
*/
#include "sc.h"
@ -2693,7 +2693,7 @@ scgetc(int noblock)
case DBG:
#ifdef DDB /* try to switch to console 0 */
if (cur_console->smode.mode == VT_AUTO &&
console[0].smode.mode == VT_AUTO)
console[0]->smode.mode == VT_AUTO)
switch_scr(cur_console, 0);
Debugger("manual escape to debugger");
return(NOKEY);