2017-06-20 16:04:40 +02:00
|
|
|
---
|
|
|
|
src/pstree.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2010-07-13 18:50:33 +02:00
|
|
|
--- src/pstree.c
|
2017-06-20 16:04:40 +02:00
|
|
|
+++ src/pstree.c 2017-06-20 13:50:18.024118675 +0000
|
|
|
|
@@ -1093,7 +1093,7 @@ int main(int argc, char **argv)
|
2010-07-13 18:50:33 +02:00
|
|
|
} else if (isatty(1) && (termname = getenv("TERM")) &&
|
|
|
|
(strlen(termname) > 0) &&
|
|
|
|
(setupterm(NULL, 1 /* stdout */ , NULL) == OK) &&
|
|
|
|
- (tigetstr("acsc") > 0)) {
|
|
|
|
+ ((int)tigetstr("acsc") > 0)) {
|
|
|
|
/*
|
|
|
|
* Failing that, if TERM is defined, a non-null value, and the terminal
|
|
|
|
* has the VT100 graphics charset, use it.
|