]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - progs/toe.c
ncurses 6.4 - patch 20240420
[ncurses.git] / progs / toe.c
index 92819c195d1f3a4dc2b14dac5a486e5415b8fac0..ecbfd53b5a0891d63725a625462792ac08cb3dd2 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2018-2020,2021 Thomas E. Dickey                                *
+ * Copyright 2018-2022,2023 Thomas E. Dickey                                *
  * Copyright 1998-2013,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -45,7 +45,7 @@
 #include <hashed_db.h>
 #endif
 
-MODULE_ID("$Id: toe.c,v 1.86 2021/10/10 00:55:32 tom Exp $")
+MODULE_ID("$Id: toe.c,v 1.89 2023/07/01 17:04:46 tom Exp $")
 
 #define isDotname(name) (!strcmp(name, ".") || !strcmp(name, ".."))
 
@@ -572,7 +572,7 @@ typelist(int eargc, char *eargv[],
                        break;
                    if (*buffer == '#')
                        continue;
-                   if (isspace(*buffer))
+                   if (isspace(UChar(*buffer)))
                        continue;
                    show_termcap(i, eargc, buffer, hook);
                }
@@ -658,7 +658,7 @@ main(int argc, char *argv[])
            usage();
        }
     }
-    set_trace_level(v_opt);
+    use_verbosity(v_opt);
 
     if (report_file != 0) {
        if (freopen(report_file, "r", stdin) == 0) {