8 bit patch added to watch

This commit is contained in:
Craig Small 2011-12-01 23:01:12 +11:00
parent 3f42de1432
commit 7790520f07
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -5,6 +5,7 @@ procps-3.3.0 --> procps-ng-3.3.1
* Fixed pgrep crashing * Fixed pgrep crashing
* vmstat -p <part> finds partitions. Was Debian patch vmstat_part_format * vmstat -p <part> finds partitions. Was Debian patch vmstat_part_format
fixes closed bugs RH#485243 and Debian#588677 fixes closed bugs RH#485243 and Debian#588677
* watch 8-bit clean, Was Debian patch watch_8bitchar
procps-3.2.8 --> procps-ng-3.3.0 procps-3.2.8 --> procps-ng-3.3.0
------------------------------------------------------ ------------------------------------------------------

View File

@ -296,7 +296,7 @@ main(int argc, char *argv[])
move(y, x); move(y, x);
if (option_differences) { if (option_differences) {
chtype oldch = inch(); chtype oldch = inch();
char oldc = oldch & A_CHARTEXT; unsigned char oldc = oldch & A_CHARTEXT;
attr = !first_screen attr = !first_screen
&& ((char)c != oldc && ((char)c != oldc
|| ||