]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/tinfo_driver.c
ncurses 6.2 - patch 20210619
[ncurses.git] / ncurses / tinfo / tinfo_driver.c
index 1f2641ff506102e35053386f654cc8ca992f889c..fb6496f0c986250d63e0755ba18ba907764117bc 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright 2018-2019,2020 Thomas E. Dickey                                *
+ * Copyright 2018-2020,2021 Thomas E. Dickey                                *
  * Copyright 2008-2016,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * Copyright 2008-2016,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -52,7 +52,7 @@
 # endif
 #endif
 
 # endif
 #endif
 
-MODULE_ID("$Id: tinfo_driver.c,v 1.70 2020/08/29 21:03:50 tom Exp $")
+MODULE_ID("$Id: tinfo_driver.c,v 1.72 2021/06/17 21:30:22 tom Exp $")
 
 /*
  * SCO defines TIOCGSIZE and the corresponding struct.  Other systems (SunOS,
 
 /*
  * SCO defines TIOCGSIZE and the corresponding struct.  Other systems (SunOS,
@@ -1532,10 +1532,10 @@ _nc_get_driver(TERMINAL_CONTROL_BLOCK * TCB, const char *name, int *errret)
        res = DriverTable[i].driver;
 #ifdef _NC_WINDOWS
        if ((i + 1) == SIZEOF(DriverTable)) {
        res = DriverTable[i].driver;
 #ifdef _NC_WINDOWS
        if ((i + 1) == SIZEOF(DriverTable)) {
-           /* For Windows >= 10.0.17763 Windows Console interface implements 
+           /* For Windows >= 10.0.17763 Windows Console interface implements
               virtual Terminal functionality.
               virtual Terminal functionality.
-              If on Windows td_CanHandle returned FALSE althoug the terminal name
-              is empty, we default to ms-terminal as tinfo TERM type.
+              If on Windows td_CanHandle returned FALSE although the terminal
+              name is empty, we default to ms-terminal as tinfo TERM type.
             */
            if (name == 0 || *name == 0 || (strcmp(name, "unknown") == 0)) {
                name = MS_TERMINAL;
             */
            if (name == 0 || *name == 0 || (strcmp(name, "unknown") == 0)) {
                name = MS_TERMINAL;