projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 6.1 - patch 20191207
[ncurses.git]
/
test
/
demo_menus.c
diff --git
a/test/demo_menus.c
b/test/demo_menus.c
index 857dfd626f365afe01d13c276194a90c3bce3246..765732338122c2f3f5a784cc314df06b068a38ca 100644
(file)
--- a/
test/demo_menus.c
+++ b/
test/demo_menus.c
@@
-26,7
+26,7
@@
* authorization. *
****************************************************************************/
/*
* authorization. *
****************************************************************************/
/*
- * $Id: demo_menus.c,v 1.
69 2019/08/24 21:41:50
tom Exp $
+ * $Id: demo_menus.c,v 1.
70 2019/12/07 18:06:12
tom Exp $
*
* Demonstrate a variety of functions from the menu library.
* Thomas Dickey - 2005/4/9
*
* Demonstrate a variety of functions from the menu library.
* Thomas Dickey - 2005/4/9
@@
-139,7
+139,7
@@
wGetchar(WINDOW *win)
} else {
_nc_tracing = save_trace;
}
} else {
_nc_tracing = save_trace;
}
- trace(_nc_tracing);
+
curses_
trace(_nc_tracing);
if (_nc_tracing)
Trace(("TOGGLE-TRACING ON"));
}
if (_nc_tracing)
Trace(("TOGGLE-TRACING ON"));
}
@@
-631,7
+631,7
@@
perform_trace_menu(int cmd)
newtrace |= td->mask;
}
}
newtrace |= td->mask;
}
}
- trace(newtrace);
+
curses_
trace(newtrace);
Trace(("trace level interactively set to %s", tracetrace(_nc_tracing)));
MvWPrintw(status, 1, 0,
Trace(("trace level interactively set to %s", tracetrace(_nc_tracing)));
MvWPrintw(status, 1, 0,
@@
-1016,7
+1016,7
@@
main(int argc, char *argv[])
#endif /* HAVE_RIPOFFLINE */
#ifdef TRACE
case 't':
#endif /* HAVE_RIPOFFLINE */
#ifdef TRACE
case 't':
- trace((unsigned) strtoul(optarg, 0, 0));
+
curses_
trace((unsigned) strtoul(optarg, 0, 0));
break;
#endif
default:
break;
#endif
default: